Easy to use C++ JSON library (no dependencies), platform-agnostic

User Ratings

★★★★★
★★★★
★★★
★★
3
0
1
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
Write a Review

User Reviews

  • soft-raider
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Any exaples with deserialization?

    Posted 07/09/2014
  • m4g4
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Its easy to use and design is good. There are some implementation details I dont like, which made me stop using the library.

    Posted 05/07/2014
  • vancode
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    very good! some warnings ----------------------------------------------------------- /// json.cpp std::string tolower(std::string s){ /// add something like this for (size_t i = 0; i < s.length(); ++i) { s[i] = tolower(s[i]); } return s; } // store all floating point as doubles. This will also set the float and int values as well. if (tolower(temp_val).compare("true") == 0) /// _stricmp deprecated ----------------------------------------------------------- //# V550 An odd precise comparison: lhs.mIntVal == rhs.mFloatVal. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon. h t t p ://www.viva64.com/en/d/0141/print/

    Posted 04/26/2014
  • sachalegrand
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Really, and I mean really easy to include in a project and start using. I tried a few other libraries but I was just too lazy to try with all these files and makefiles which I am not very comfortable with. Just one thing, the readme file gives a good example of how to use Serialize, however using Deserialize is not really explained, is it? Well... I found out by myself, and it was working on my first try, so I guess at least it's very straightforward.

    Posted 03/31/2014