c# - SimpleJSON Unity Exception: Error deserializing JSON. Unknown tag: 123 -
i'm getting error when accessing data json file. i'm trying follow following tutorial: http://wiki.unity3d.com/index.php/simplejson and created test.json file, want extract data containing: { "version": "1.0", "data": { "samplearray": [ "string value", 5, { "name": "sub object" } ] } } using following code in unity: void loadfiles() { fileinfo f = m_info[0]; //array of files in folder // had foreach loop here, wanted specify file testing before tried parse through 1 of own print("i found : " + f); var n = jsonnode.loadfromfile(f.fullname); var versionstring = n["version"].value; // versionstring string containing "1.0" var versionnumber = n["version"].asfloat; // versionnumber float containing 1.0 var name = n["data...