#pragma once
#include <string>
#include "canvas/CanvasState.h"

// ── Layout JSON exporter ─────────────────────────────────────────────────────
// Serialises the current canvas state to a JSON string suitable for the
// Three.js 3D viewer.  No external JSON library required — we write it by hand.

class LayoutJson {
public:
    static std::string Export(const MC::CanvasState& state);
};
