json parser

medu

Member
For those of you playing (or seriously using) RIA frameworks and need a JSON parser without updating to OE 10.2B you can check out the abl.json project on sourceforge.net, we also have a full version that provides functions to serialize/de-serialize complez data structures like temp-table, dataset and which should work (with limited functionality) on oldest Progress versions V9+.

Best regards,
Marian Edu

m.edu
keep it simple
www.ganimede.ro
medu@ganimede.ro
 

medu

Member
Version 1.1 available for download on http://sourceforge.net/projects/abljson/files/v1.1/

Updated documentation, added functions to serialize temp-table and dataset (de-serialization for temp-table), installation kit for Windows (include the binary shared library for cJSON).

Limitations compared to commercial version:
the pre-compiled shared library adds an extra 'credits' node at the end when printing a JSON document
the size of output string is limited to the length of character data-type
sensible lower performance for serializing complex data structures (temp-table, dataset) due to increased number of calls of external library functions (field level export instead of row level for full version)

more about the full version here... http://www.ganimede.ro/?p=197
http://www.shareit.com/product.html?productid=300430743&stylefrom=300430743&pts=CCA,DBC,WTR
 

Coop

New Member
Is there a way to use this on unix? I assume since it's an .exe it will only run on windows.
 

medu

Member
There is a Unix/Linux shared library as well, the exe is a setup binary for Windows what is used there is also a library (DLL) but the 4gl code is same regardless of OS.
 

Coop

New Member
There is a Unix/Linux shared library as well, the exe is a setup binary for Windows what is used there is also a library (DLL) but the 4gl code is same regardless of OS.
I'm actually more interested in the writer. I'm trying to picture how that works. Is it possible for you to give a brief explanation? It would be much appreciated. We are stuck on version 10.1c and writing JSON manually is a major pain.
 

kmcgrane

New Member
Hi, I'm interested in using this on Linux (Ubuntu 12.04) and Solaris 10. Can you point me in the direction to install and test this? I have tested it via Windows, but have so far had issues getting it work on Linux. I've tried the tester programs (Reader and Writer).
 
Top