PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WM19] JSON Parser Class ?
[WM19] JSON Parser Class ?
Iniciado por guest, 23,abr. 2015 11:20 - 2 respuestas
Publicado el 23,abril 2015 - 11:20
Hi,

Does anybody have a good, stable working JSON parser (Deserialisation) that he wants to share and is working on Android ?

I have tried the 2 in the PC-Soft Repository (CJSON and JSON_Utils) but the first one uses Variant types that are not available in Android and the second one does not parse the validated JSON string I have, so there is something wrong or unsupported in that one.

Before writing my own parser or trying to debug the problems in de existing onces that I have found, maybe someone likes to share there JSON Parser to the community ?

Another option is to go Native and deserialize the JSON string in Java, but I would like to keep it in WLanguage where possible.
Or I could wait for v20, but that could take weeks before the final US version is released <img src="/NG2013_WEB/ui/smiley/2.gif" align=absmiddle border=0 alt=":-(">

Hope someone can help me !

Thanks
Danny
Publicado el 23,abril 2015 - 11:44
Hi. I had the same issue with the PCSoft repository resources. Then i modify the Hilario Perez Corona "JSON Utils" to include a Variant class implementation.


I can send you a WM19 sample project.

Rubén
Publicado el 23,abril 2015 - 13:37
Rubén,

Thanks, that would be great !

You can send it to danny [AT] lauwers [DOT] com

Danny