libjson Icon

libjson

95 Recommendations
0 Downloads (This Week)
Last Update:
Download libjson_7.6.1.zip
Browse All Files

Description

A JSON reader and writer which is super-effiecient and usually runs circles around other JSON libraries. It's highly customizable to optimize for your particular project, and very lightweight. For Windows, OSX, or Linux. Works in any language.

libjson Web Site

Categories

Features

  • Lazy or aggressive JSON Parsing
  • 100% JSON compliant
  • Language independent C interface
  • C++ interface
  • Test Suite and Example Projects
  • C and Bash style comment support
  • Automated install via make
  • cplusplus.com - style documentation
  • Streaming ability
  • Security to prevent various forms of Denial of Service

Update Notifications





User Ratings

 
 
95
19
Write a Review

User Reviews

  • Posted by hu junjie 2011-07-14

    many bugs.. 1: case JSON_TEXT('\v'): //vertical tab res += JSON_TEXT("\\v"); break; case JSON_TEXT('\''): //apostrophe res += JSON_TEXT("\\\'"); break; in rfc4627, '\v', '\'' NOT NEED escape, if do this, other jsonlib will crash, ex: jsoncpp.. 2: json SHOULD transfer in utf8, if define UNICODE, will transfer unicode, if not define UNICODE, libjson can not parse string contant \uxxyy when xx not equ 0 3: in code JSONWork.cpp *runner++ = (*++p == JSON_TEXT('\"')) ? JSON_TEXT('\1') : *p; //an escaped quote will reak havoc will all of my searching functions, so change it into an illegal character in JSON for convertion later on but iif the node no fetch yet, will not convertion later on, for example: const char *str = "{ \"mt\":\"\\\"str\\\"\" }" // str={"mt":"\"str\""} JSONNode obj = libjson::parse(str); json_string objstr = obj.write(); printf("%s\n", objstr.c_str()); WILL OUTPUT {"mt","\1str\1"}

Read more reviews

Additional Project Details

Registered

2010-04-01

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.