PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → I do not understand very well JSON and JSONVersVariant.
I do not understand very well JSON and JSONVersVariant.
Started by AlliageSphere, Feb., 04 2020 5:31 PM - No answer
Posted on February, 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.