Hey,
how can i create this with the JSONGenerator?
if i put a json string into the JSONParser, then is this my result:
how can i create this with the JSONGenerator?
B4X:
{
"name":"John",
"age":30,
"cars": [
{ "name":"Ford", "models":[ "Fiesta", "Focus", "Mustang" ] },
{ "name":"BMW", "models":[ "320", "X3", "X5" ] },
{ "name":"Fiat", "models":[ "500", "Panda" ] }
]
}
if i put a json string into the JSONParser, then is this my result:
B4X:
{
"DocumentCode":"007",
"DocumentTitle":"Doc Title",
"AttchmentData":"{\"AttchmentName\":\"Rücksendezentrum.pdf\",\"AttachmentTitle\":\"This is the title\",\"AttachmentData\":\"test\"}"
}