Page 1 of 1

Up to date Commercial or Open Source JSON Parser?

Posted: Wed Aug 29, 2012 12:27 pm
by Paul.RaulersonBUSIvAg
It isn't that hard to write a parser and encoder for JSON, but it sure would be nice to just be able to drop a few bucks and buy one.

I looked at the Libjson-1.xx download, but it is a few years old, has no real documentation, and uh - didn't work as expected. It is a couple of years old, and doesn't appear to be supported.

The only other one I see from searching the Forums was last updated in January of this year, but isn't really a json parser. It appears to be APIs for Tweeter, Facebook, and Google. Not quite what I am looking for, and besides, I could not figure out how to download it from the repository. :roll:

Prefer a LiveCode solution as it needs to run on multiple platforms, including iPad/iPhone.

Thanks for any tips.

-Paul

Re: Up to date Commercial or Open Source JSON Parser?

Posted: Wed Aug 29, 2012 5:29 pm
by FourthWorld
I haven't used libJSON myself, but it has a pretty good reputation. What issues did you experience with it?

Re: Up to date Commercial or Open Source JSON Parser?

Posted: Wed Aug 29, 2012 5:46 pm
by mwieder
Yes, libJSON is completely LiveCode, so it's portable to the mobile environments. You *should* be able to point it at a jSON stream and have it do the conversion for you. After that you're dealing with native LiveCode arrays. And convert back when you need to.

Re: Up to date Commercial or Open Source JSON Parser?

Posted: Thu Aug 30, 2012 4:41 am
by Paul.RaulersonBUSIvAg
FourthWorld wrote:I haven't used libJSON myself, but it has a pretty good reputation. What issues did you experience with it?
Probably mostly user error. It seemed to miss some data items last night, but checking it tonight, they are all there, so maybe it was just me being too tired.
I really wish it was commercial/supported though. :)

-Paul

Re: Up to date Commercial or Open Source JSON Parser?

Posted: Thu Aug 30, 2012 5:26 pm
by FourthWorld
Paul.RaulersonBUSIvAg wrote:I really wish it was commercial/supported though. :)
We all do. Unfortunately, the author of that library died. We miss him; he wrote a lot of cool stuff, gave it away freely, and was enjoyable conversation along the way.

It might be nice if someone had the time and interest to contribute enhanced docs for it. Any takers?