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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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