Tiled JSON (.tmj)
The Tiled JSON exporter writes the Tiled 1.10 JSON map format. This is the round-trip baseline: anything Tiled itself can store, GridCraft writes here. Use it when you want a file Tiled can open, or when no other engine target fits your needs.
What's covered
- All layer types: tile, object, image, group.
- All object shapes: rectangle, ellipse, point, polygon, polyline, text, tile object.
- Tilesets, embedded and external (external referenced by path).
- Tile properties, animations, collision shapes, type / class.
- Wang sets (corner and edge).
- Finite and infinite maps (chunked).
- Custom properties of every supported type.
Variable-size tiles
Tiled assumes uniform tile size, so the exporter applies a polyfill before writing. Oversize tiles get broken into uniform sub-tiles that reference the same atlas region. Tiled opens the file and shows the tile at the right visual size. If you re-import into GridCraft, the loader rebuilds the oversize footprint.
Output
map.tmj (UTF-8 JSON, Tiled 1.10 format)
File extension .tmj. Pretty-printed with 2-space indentation.