Howdy, everyone.
I have this in Json
Dim gen As JSONGenerator
Dim myObj As Map
myObj.Initialize
myObj.Put("dttm","01/03/2017 16:24:34")
gen.Initialize(myObj)
Msgbox(gen.ToString,"TESTING")
The Msgbox show {"dttm":01\/03\/2017 14:24:34"}
We are migrating APP from Cordova to B4a , in cordova (Javascript) the Json output this :
{"dttm":01/03/2017 14:24:34"} without the "\" the Standard Json found the "/" and remplace by "\/"
Unfortunately, in the backend, the oracle database is waiting for that format "dttm":01/03/2017 14:24:34"
How we can output this in B4A {"dttm":01/03/2017 14:24:34"} without modify the backend.
Thanks for any light in the tunnel.
I have this in Json
Dim gen As JSONGenerator
Dim myObj As Map
myObj.Initialize
myObj.Put("dttm","01/03/2017 16:24:34")
gen.Initialize(myObj)
Msgbox(gen.ToString,"TESTING")
The Msgbox show {"dttm":01\/03\/2017 14:24:34"}
We are migrating APP from Cordova to B4a , in cordova (Javascript) the Json output this :
{"dttm":01/03/2017 14:24:34"} without the "\" the Standard Json found the "/" and remplace by "\/"
Unfortunately, in the backend, the oracle database is waiting for that format "dttm":01/03/2017 14:24:34"
How we can output this in B4A {"dttm":01/03/2017 14:24:34"} without modify the backend.
Thanks for any light in the tunnel.