JSON library based on JSMN lib
Dependents: ATT_WNCInterface_Info WNCInterface_HTTP_example NerfUS-Coord Mbed_Prototype_copy_4_INNO_day_15_6_2017 ... more
C++ JSON wrapper over JSMN lib (https://github.com/zserge/jsmn).
This C++ Class is a set of common tools/procedures as a C++ wrapper over JSMN JSON parser library. It is intended to provide the boiler-plate code, with intentions to reduce code clutter, in more of C++ fashion.
In contrast to original library, Json is intended to work strictly with valid JSON structures. Non-standard JSON structures should result in an error.
This class works explicitly on the indices returned by underlying JSMN library. In the scope of this class, its function parameters, return types, and documentation, the term 'index' will always mean the index of JSMN tokens, parsed by the Json constructor, unless and until explicitly mentioned otherwise.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
7:8aa4d0e98eb0 | 2016-08-16 | faheem_chaudhary | Added a very basic example in documentation |
6:c1d2153da4ed | 2016-08-15 | faheem_chaudhary | Changed the documentation |
5:dd98cf00ed9b | 2016-08-15 | faheem_chaudhary | Added the documentation, and re-factored type-conversion functions. Added validity check in functions. |
4:ae34010d87e5 | 2016-08-02 | faheem_chaudhary | Added Key search in flat format |
3:fab591fca1e7 | 2016-06-02 | mercurywaters | Added the documentation of JSON class |
2:d33e3dbe6d07 | 2016-05-17 | mercurywaters | Added check for invalid parsing of JSON |
1:6193fe1e33e0 | 2016-05-13 | mercurywaters | Removed the commons lib dependency |
0:7f4a18b3fd82 | 2016-05-13 | mercurywaters | First cut code commit |