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.

History

Added a very basic example in documentation default tip

2016-08-16, by faheem_chaudhary [Tue, 16 Aug 2016 22:26:36 +0000] rev 7

Added a very basic example in documentation


Changed the documentation

2016-08-15, by faheem_chaudhary [Mon, 15 Aug 2016 22:52:37 +0000] rev 6

Changed the documentation


Added the documentation, and re-factored type-conversion functions. Added validity check in functions.

2016-08-15, by faheem_chaudhary [Mon, 15 Aug 2016 22:50:26 +0000] rev 5

Added the documentation, and re-factored type-conversion functions. Added validity check in functions.


Added Key search in flat format

2016-08-02, by faheem_chaudhary [Tue, 02 Aug 2016 20:21:04 +0000] rev 4

Added Key search in flat format


Added the documentation of JSON class

2016-06-02, by mercurywaters [Thu, 02 Jun 2016 06:08:24 +0000] rev 3

Added the documentation of JSON class


Added check for invalid parsing of JSON

2016-05-17, by mercurywaters [Tue, 17 May 2016 05:29:03 +0000] rev 2

Added check for invalid parsing of JSON


Removed the commons lib dependency

2016-05-13, by mercurywaters [Fri, 13 May 2016 06:14:51 +0000] rev 1

Removed the commons lib dependency


First cut code commit

2016-05-13, by mercurywaters [Fri, 13 May 2016 06:07:34 +0000] rev 0

First cut code commit