Zserio C++ runtime library
1.2.0
Built for Zserio 2.16.0
|
#include <JsonParser.h>
Classes | |
class | IObserver |
Public Member Functions | |
BasicJsonParser (std::istream &in, IObserver &observer, const ALLOC &allocator=ALLOC()) | |
bool | parse () |
size_t | getLine () const |
size_t | getColumn () const |
Json Parser.
Parses the JSON on the fly and calls an observer.
Definition at line 18 of file JsonParser.h.
|
inline |
Constructor.
in | Text stream to parse. |
observer | Observer to use. |
allocator | Allocator to use. |
Definition at line 109 of file JsonParser.h.
|
inline |
|
inline |
|
inline |
Parses single JSON element from the text stream.
JsonParserException | When parsing fails. |
Definition at line 120 of file JsonParser.h.