No biggy, after considering the time it would take me to find the
right solution and integrate it properly vs the overall complexity of
the problem to solve, I decided to write my own solution and I am in
the middle of doing that.

The JSON grammar is quite simple and elegant (especially once you
consider that most of the complexity are repetitive cases of
recursion) and I happen to have a decent amount of experience with
regular expressions.

Once done, the my solution will be bug free and the support that will
come with that solution will be through the roof :P.

Thanks for all the advices :).

On Sep 20, 12:52 pm, Phyo Arkar <phyo.arkarl...@gmail.com> wrote:
> Also check  JsonBox , its used in RedBox 2D game engine.
>
> On 9/20/11, Phyo Arkar <phyo.arkarl...@gmail.com> wrote:
>
> > heres what i found:
> > from json.org
> > C:
>
> >     JSON_checker.
> >     JSON parser.
> >     M's JSON parser.
> >     YAJL.
> >     cJSON.
> >     Jansson.
> >     js0n.
> >     LibU.
> >     jsmn.
> >     cson.
> >     json-c.
>
> > C++:
>
> >     jsoncpp.
> >     zoolib.
> >     JOST.
> >     CAJUN.
> >     libjson.
> >     nosjob.
> >     JSONKit.
> >     JsonBox.
>
> > On 9/20/11, Phyo Arkar <phyo.arkarl...@gmail.com> wrote:
> >> yeah may be due to nature of C/C++ is not used for programming web
> >> apps json support is quite weak.
>
> >> Python's Native json lib are  a lot more mature than C++ versions.
>
> >> Did u also check AMF as alternative?
>
> >> On 9/20/11, Magnitus <eric_vallee2...@yahoo.ca> wrote:
> >>> Thanks for all the feedback from everyone.
>
> >>> For the json cpp libraries, I find that jsoncpp looks unpolished with
> >>> outstanding bugs (it is still advertised as Beta) and it is a hassle
> >>> to install (you have to install some Python modules just to read the
> >>> documentation).
>
> >>> Cajun looked more polished and minimalistic (a positive trait), but it
> >>> also looks abandoned and doesn't seem to have an entry point as far as
> >>> documentation goes.
>
> >>> I'll look at them a bit longer, but at this point I'm inclined to take
> >>> a look at the c libraries instead.
>
> >>> On Sep 19, 3:19 pm, Phyo Arkar <phyo.arkarl...@gmail.com> wrote:
> >>>> so the power is all yours,. use JSON or AMF
>
> >>>> There are many C++ Json libs for sure.
>
> >>>> (http://jsoncpp.sourceforge.net/)
>
> >>>> For AMF (Binary Protocol , Lesser packet size , Higher
> >>>> Performance)http://code.google.com/p/libamfx/
>
> >>>> On 9/20/11, Magnitus <eric_vallee2...@yahoo.ca> wrote:
>
> >>>> > I wrote the engine myself so it's as flexible as I need it to be ;).
>
> >>>> > Haven't gone on the XML wagon yet, was simply considering it.
>
> >>>> > I did work with JSON for the AJAX component of my web server so that
> >>>> > solution is looking pretty good atm. I thought it was mostly a
> >>>> > Javascript-Server thing and wasn't aware there were some C/C++
> >>>> > libraries for it though :).
>
> >>>> > On Sep 19, 1:36 pm, Phyo Arkar <phyo.arkarl...@gmail.com> wrote:
> >>>> >> yes, json/jsonp is much better portocol for gaming coz due to lesser
> >>>> >> size and its properties.
> >>>> >> But if he already have XML engine for his game he should go with it
> >>>> >> (coz all the game engine supports XML , not any with JSON support i
> >>>> >> know of yet.)
>
> >>>> >> On 9/20/11, Ross Peoples <ross.peop...@gmail.com> wrote:
>
> >>>> >> > You can try JSON, Python 2.6+ has a C JSON parser in it already
> >>>> >> > which
> >>>> >> > web2py
> >>>> >> > uses for JSON communications. I haven't done any testing with it
> >>>> >> > versus
> >>>> >> > XML,
> >>>> >> > but JSON is such a simple protocol with minimal parsing
> >>>> >> > requirements
> >>>> >> > that
> >>>> >> > I'd imagine it's much faster than parsing XML.
>
>

Reply via email to