I'm working on a game and I'm implementing objects where you can define in "TiledMap editor" what items a certain object holds. So I've got to an idea where I can enter the Item ID's right there like {22:4, id:amount}. When I parse the map, I retrieve that array as a string, is there a way to convert it to an array?
Thanks in advance!