You are not logged in.
Pages: 1
Hi,
if I try TDocVariant.NewJSON() with the following input: {'id':'10'} - it raises error.
If instead of single quotes I'm using double quotes, i.e. {"id":"10"}, it's fine.
Isn't allowed in JSON to put values and names in singe quotes?
Offline
No.
See http://json.org
And http://synopse.info/files/html/Synopse% … tml#TITL_2
But in mORMot you can use {id:"10"}
Offline
Pages: 1