Hi i'm using this function to create a json string
B4X:
Dim m As Map = CreateMap("caption":caption,"type":"image/png","recipients":recipients,"content":content)
Dim generator As JSONGenerator
generator.Initialize(m)
[code]
but when i print the json
apears like this
{
"recipients": "18099897215",
"caption": "Popola 1",
"type": "image\/png",
"content": "iVBORw0KGg'
}
see the type add "\" to the json string there for the web service respond with an error.
any help will be apreciated.
Victor