kupo15
Member
I'm having a tough time figuring out json decoding. I've somewhat grasped whats going on but I'm getting an error
___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object object0:
Data structure with index does not exist.
at gml_Object_object0_CreateEvent_1 (line 3) - var size = ds_list_size(list);
############################################################################################
when I show_message list it displays the name of the json file which seems odd to me.
All I'm trying to do is first figure out how to parse a json into something usable like an array like what's in the documentation
https://docs.yoyogames.com/source/dadiospice/002_reference/file handling/json_decode.html
Here is the gmz with two included json files. Texturepacker has an array and hash version of json, I'm not sure what the difference is.
Any help would be appreciated. Thanks
https://www.dropbox.com/s/kj2zl4uhe07p9qy/json.gmz?dl=0
@FrostyCat
___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object object0:
Data structure with index does not exist.
at gml_Object_object0_CreateEvent_1 (line 3) - var size = ds_list_size(list);
############################################################################################
when I show_message list it displays the name of the json file which seems odd to me.
All I'm trying to do is first figure out how to parse a json into something usable like an array like what's in the documentation
https://docs.yoyogames.com/source/dadiospice/002_reference/file handling/json_decode.html
Here is the gmz with two included json files. Texturepacker has an array and hash version of json, I'm not sure what the difference is.
Any help would be appreciated. Thanks
https://www.dropbox.com/s/kj2zl4uhe07p9qy/json.gmz?dl=0
@FrostyCat