SuperEasyJSON

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

4.3 Stars (11)
29 Downloads (This Week)
Last Update:
Download SuperEasyJSON.zip
Browse All Files

Screenshots

Description

A super easy to use, platform-independent C++ JSON library with no dependencies beyond the standard libraries, no annoying make files, no installation of any other software needed. Read up on the JSON format here: http://json.org

Read the README.txt file for usage and examples.

LAST UPDATED: 8/31/2014 (see README.txt for changelog)

SuperEasyJSON Web Site

Categories

JSON, Libraries

License

MIT License

Features

  • Easy to use
  • Platform independent
  • No dependencies other than the standard libraries
  • No nerdy makefiles
  • No need to install other software to build the library
  • Familiar std::map and std::vector-like usage

KEEP ME UPDATED

User Ratings

★★★★★
★★★★
★★★
★★
7
1
2
1
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 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

  • fld1
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Pretty decent. Doesn't properly deal with escaped back slashes before endquotes: ["this will break it\\"] also unexpected string termination results in a memfault... It copies like it's it's job, basically nothing is passed by reference. Also when string unescaping was added, no complimentary escaping was added. Additionally, the new JSON standard allows all values to be top level, so things like 34 should now be allowed as valid JSON but this enforces the top level values as arrays or objects

    Posted 06/24/2015
  • nvoidknight
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Putting this here in case it helps anyone: I'm developing with VS2013 and I needed to change line 15 of json.cpp from: #define _stricmp strcasecmp to #define strcasecmp _stricmp other than that it seems to work just fine for me

    Posted 06/21/2015
  • stiwie
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    easy, fast and works

    Posted 03/18/2015
  • buggynours
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Ok for testing. Now for a real job, it's a little short: (1) Need a delete function for removing items from arrays or object (2) Need a support for pointers: This is very important for applications that modify the json data. If a do json::Array *Ar = new json@Array; I can do: Ar->push_back("truc"); fs = json::Serialize(*Ar); (*Ar)[0] = "Machin"; fs = json::Serialize(*Ar); The last two should be handled with a better syntax. Now the real issue is if I were willing to modify a complex json tree. For instance having an object that contains an array; if i do: json::Array R = myVal.ToArray; and then modify the array R, my value is not modified because R contains a copy of the array that is inside the value. Like when working with XML nodes, it is necessary to get a pointer to the item I want to modify. Apparently I didn't find a way to do that. (3) The documentation is far from what is needed to easily use the library. It is even misleading. When saying "An object is just a pair of key/values" this is wrong. The object is the container containing such pairs.

    Posted 12/07/2014
  • yeshelolo
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Excellent module. Really simple indeed.

    Posted 09/04/2014
Read more reviews

Additional Project Details

Intended Audience

Developers

Programming Language

C++

Registered

2013-12-17
Screenshots can attract more users to your project.
Features can attract more users to your project.