Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Why can't json decode its own encoded string? — Gideros Forum

Why can't json decode its own encoded string?

seppseppseppsepp Member
edited June 2014 in General questions
Hi folks,

maybe you can help. A table is encoded via json.encode and written to a file. The produced string is:

{"rowsPassed":6,"rowsPassedEver":70,"rowsPassedRecord":21}

Later the string is read from file again. But then json.decode applied on this string fails with result nil. Any ideas why this happens?


Thanks a lot in advance

Sebastian

Comments

Sign In or Register to comment.