usage same as JSONGenerator
2017-7-12 13:01:39
v1.1 add jsonparser(the functions are same as jsonparser in b4x)
B4X:
Private jsg2 as JSONGenerator2
Dim ret As Map
ret.Initialize
If success Then ret.Put("code",200) Else ret.Put("code",500)
ret.Put("data",data)
jsg2.Initialize(ret)
res.Write(jsg2.ToString)
v1.1 add jsonparser(the functions are same as jsonparser in b4x)
Attachments
Last edited: