User Ratings
Rate This Project
Login To Rate This Project
Featured Reviews
Highest Rated
5 out of 5 starsI had to make a change to the make file because of a "No such file or directory". After the change, it worked like a charm.
The change is in the install_headers: banner section.
cp -rv ./$(srcdir)/Dependencies/ $(include_path)/$(libname_hdr)/$(srcdir)
was changed to
cp -rv ./$(srcdir)/../Dependencies/ $(include_path)/$(libname_hdr)/$(srcdir)
Lowest Rated
1 out of 5 starsmany 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"}
User Reviews
-
3 out of 5 starsMacOS required some corrections and changes. Line 2 of GNU_C.h fixed misspelling of _GUN_ to _GNU_. From within _internal/Sources directory: ln -s ../Dependencies. make; sudo make install Expect warnings: clang: warning: optimization flag '-fexpensive-optimizations' is not supported clang: warning: argument unused during compilation: '-fast' clang: warning: argument unused during compilation: '-fexpensive-optimizations' g++ -o $@ $< -ljson It all compiles, links, and installs. I have not yet tested it extensively, thus the lack of optional rating.
-
5 out of 5 starsWorks as advertised, easy to use.
-
2 out of 5 starsBe careful when you are up to choose this libjson. 1. If you need to handle Unicode ( why not. You have to for handling Twitter & Facebook response. ), make sure that your host app uses GNU C++ standard not strict ANSI C++ standard. if using strict ANSI C++ standard, Unicode support in this library should be turned off. Then it can't handle Unicode escape sequence like \uXXXX. At least it should return \uXXXX if it can't handle the Unicode. As some people pointed out, wouldn't it be better to conver it to UTF-8? Unicode escape sequence is not UTF-8. If Unicode option is off, it will return chopped string at \u. (returns only up to \. eg. "This is \uAC00" yields "This \". 2. Documentation is not clear if it's SOX style or DOM parser style. It turned out that it handles the both, which is good. More accurately speaking, you can achieve SOX-like on by using its iterator. 3. Its build option is also expected to be specified in a header file, JSONOptions.h, which can introduce some odd situation when using this library in your host project.
-
5 out of 5 starsI had to make a change to the make file because of a "No such file or directory". After the change, it worked like a charm. The change is in the install_headers: banner section. cp -rv ./$(srcdir)/Dependencies/ $(include_path)/$(libname_hdr)/$(srcdir) was changed to cp -rv ./$(srcdir)/../Dependencies/ $(include_path)/$(libname_hdr)/$(srcdir)
-
5 out of 5 starsThanks for Libjson, it's good!
-
5 out of 5 starsA very very good project!
-
5 out of 5 starsSuperb
-
5 out of 5 starsGreat work!
-
5 out of 5 starsCant live wo it, tnx
-
5 out of 5 starsCool!
-
5 out of 5 starsNice, nice, nice!
-
5 out of 5 starsVery good Software.
-
5 out of 5 starsThanks for lib, it really helps me with my project.
-
5 out of 5 starsGreat library for use in OBSE as a plugin. Combined with Boost the two libraries solved my problems.
-
5 out of 5 starsI like libjson
-
5 out of 5 starsAmazing job. Thanks all You Rock!
-
5 out of 5 starsVery good work! Thank you very much!
-
5 out of 5 starsUsed this for a couple of years having tried a couple of alternatives - couldn't be without it.
-
5 out of 5 starsGreat work! Simple and easy - what can be better?!
-
5 out of 5 starsAmazing software! Works great! simple and effective.
-
5 out of 5 starsI love this software!!!
-
5 out of 5 starsI like libjson. I really find it useful even if it looks very simple.
-
5 out of 5 starsVery good work! Thank you very much!
-
5 out of 5 starsGreat software, thank you.
-
5 out of 5 starsI will give it try and I will see whether it is worth it or not.