Tiles json is empty

Hello,

after setting colision shapes I exported my tiles to json I get this

{ "source":"C:\/Users\/phil\/Desktop\/tiles.tsx"
}

nothing else

is there something I am missing???

I already implemented a json parser, I really dont want to go to xml :slight_smile:

regards

Unfortunately you ran into a bug. It’s already fixed in the repository:

https://github.com/bjorn/tiled/commit/d556aaf4b7c4aea66b4619867438eb40f3e00692

The fix will be out in the upcoming Tiled 1.1.4 and the next development snapshot. I plan to release a new snapshot in the next two days. Not sure yet when it’s time for 1.1.4 since there’s some other issues to be looked into as well.

As a workaround, you can Save instead of Export your tileset in JSON format. Just beware that this will probably change the tileset reference in maps saved afterwards.

already used tinyxml2 to load data :slight_smile:

where can I download the built snapshot ?

Oh well. :slight_smile:

The development snapshots are available on itch.io, they are the files labeled “snapshot”. But the above fix is not in the latest snapshot yet.

ok thanks, let me know

The fix is available in the latest development snapshot:

thanks, I submitted another bug :slight_smile:

1 Like