On 1/1/17 12:31 PM, pink wrote:
what version of easyJSON are you using? I just copied the library from: https://github.com/luxlogica/easyjson/blob/master/easyjson.lcused this code: put "12345" into tArray["one"][1] put "12345" into tArray["one"][2] put "12345" into tArray["one"][3] put "12345" into tArray["two"][1] put "12345" into tArray["two"][2] put jsonfromarray(tArray) into tWhatever and got: {"one":[12345,12345,12345],"two":[12345,12345]} I still recommend fastJSON over easyJSON: https://github.com/bhall2001/fastjson/blob/master/fastjson.lc
The built-in arrayToJSON function gives the same thing. -- Jacqueline Landman Gay | [email protected] HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
