FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour JsonEncode, JsonDecode Lib
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
JsonEncode, JsonDecode Lib
Posted: Sun Dec 13, 2015 08:41 PM

Does anybody have a lib which will provide the functions hb_JsonEncode, and hb_JsonDecode to my FiveWin / xHarbour project. I found c source code on line for these functions but I have no experience in creating a Lib to utilize this code. I have been working on using restful web services and thanks in part to this group I believe I am there. However I need to parse the json that is returned. I wrote something for simple Json, but more complex the structure it gets more difficult. I believe it could take days to get this right (if ever). I decided I am better using the functions some 'smart person' wrote instead. Is it reasonable to incorporate this code into a Lib and utilize it, or might there be version issues. Or if anybody has a lib with this capability please let me know.

I believe these functions are similar to json.parse, and json.stringify.

Thanks,

Byron ...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: JsonEncode, JsonDecode Lib
Posted: Mon Dec 14, 2015 09:09 AM
Byron,

they are part of the standard xHarbour RTL. If you need the latest xHarbour please download it from Mel Smith website:

http://www.whosaway.com

EMG

Continue the discussion