PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → I do not understand very well JSON and JSONVersVariant.
I do not understand very well JSON and JSONVersVariant.
Iniciado por AlliageSphere, fev., 04 2020 5:31 PM - Sem resposta
Publicado em fevereiro, 04 2020 - 5:31 PM
Hello !

I would like to recieve JSON data from HTTP request.

I have seen JSON variable and JSONVersVariant (I am french). However, even if I have made a successible test, it's very blurry.

gDonnee est un Variant = JSONVersVariant("{""variable"" : 1}")
Info(gDonnee.variable)

By using JSONVersVariant, JSON data type seem to be useless.
I do not understand very well how to get a data and to navigate into JSON text.

Is there other way to do it ?

Thanks a lot for your help,
Sincerely.