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
c
Also check JsonBox , its used in RedBox 2D game engine.
On 9/20/11, Phyo Arkar 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.
>
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,
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 wrote:
> Thanks for all the feedback from everyone.
>
> For the json c
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
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 wrote:
> I wrote the engine myself so it's as flexible
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
Also look into AMF/PyAMF
AMF is binary protocol , very much like json. I have a chatroulette
like webcam application in development using PyAMF.
On 9/20/11, Phyo Arkar wrote:
> yes, json/jsonp is much better portocol for gaming coz due to lesser
> size and its properties.
> But if he already ha
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 wrote:
> You can try JSON, P
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.
10 matches
Mail list logo