You are not logged in.
Pages: 1
Hi,
I'm a little confused about all JSON-related functions in SynCommons.
I'm using the mORMot JSon parser "alone" because I'm creating a REST client for a custom Server (that doesn't use mORMot).
I receive a JSON response like this:
{
outputParam1:"value1",
outputParam2:5,
data: [
{//object to be mapped to a TSQLRecord},
{//object to be mapped to a TSQLRecord},
...
{//object to be mapped to a TSQLRecord}
]
{
I stored it in a RawUTF8 string and succesfully got the data array automatically mapped using _JsonFast and TSQLTableJSON.CreateFromTables.
Now, outputParam fields are not mandatory, but if there are any I'd like to parse and put them as name-value pairs in a TRawUTF8List.
What is the best/fastest way to achieve that?
Thank you
Offline
Pages: 1