Good morning everyone, hope you are well.
I hope this thread is not repeated, I looked for the solution on the forum but I didn't find it, maybe it's my weak English.
is the following: I'm trying to generate a json string like this ⬇⬇⬇⬇:
Dim userJson As Map = CreateMap("email": "exemplo@mail.com","id":750,"name": "Abdul Cadre")
Dim dataPrintP As Map = CreateMap("requestedBy": userJson.As(JSON).ToCompactString)
Dim s As String = dataPrintP.As(JSON).ToCompactString
Log(s)
Dim userJson As Map = CreateMap("email": "exemplo@mail.com","id":750,"name": "Abdul Cadre")
Dim jg As JSONGenerator
jg.Initialize(userJson)
Dim dataPrintP As Map = CreateMap("requestedBy":jg.ToString)
Dim jg As JSONGenerator
jg.Initialize(dataPrintP)
Log(jg.ToString)
Dim userJson As Map = CreateMap("email": "exemplo@mail.com","id":750,"name": "Abdul Cadre")
Dim dataPrintP As Map = CreateMap("requestedBy": userJson.As(JSON).ToCompactString)
Dim s As String = dataPrintP.As(JSON).ToCompactString
Log(s)