how to create a list in easyJSON

pink nabble at mad.pink
Sun Jan 1 13:31:54 EST 2017


what version of easyJSON are you using? I just copied the library from:
https://github.com/luxlogica/easyjson/blob/master/easyjson.lc

used 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



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/how-to-create-a-list-in-easyJSON-tp4711279p4711302.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list