Parse JSON into tokens and iterate over it. Will handle all allocations.
More...
#include </home/bertw/proj/mcu/libs/mbed-jsoneat/components/jsoneat/include/jsoneat/jsoneat.hh>
|
| class | Iterator |
| | This has iterator functionality, but also provides lots of token related member functions. More...
|
| |
|
|
| JsoNeat (input_type json, unsigned tok_max) |
| |
|
| operator bool () const |
| |
| input_type | get_json () |
| | get json buffer passed to ctor
|
| |
| Iterator | begin () |
| | get JSON root object iterator
|
| |
| Iterator | end () |
| | get JSON root object end iterator
|
| |
|
|
| JsoNeat (input_type json, jsmntok_t *tok, unsigned tok_max) |
| |
template<typename input_type = const char*>
class jsoneat::JsoNeat< input_type >
Parse JSON into tokens and iterate over it. Will handle all allocations.
- Template Parameters
-
| input_type | type of JSON input buffer. should be char* or const char* |
◆ begin()
template<typename input_type = const char*>
get JSON root object iterator
- Returns
- iterator pointing to root object
◆ end()
template<typename input_type = const char*>
get JSON root object end iterator
- Returns
- iterator pointing one behind root object
◆ get_json()
template<typename input_type = const char*>
get json buffer passed to ctor
- Returns
- pointer to json text buffer
The documentation for this class was generated from the following file:
- /home/bertw/proj/mcu/libs/mbed-jsoneat/components/jsoneat/include/jsoneat/jsoneat.hh