Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
#include <JsonReader.h>
Public Member Functions | |
BasicJsonReader (std::istream &in, const ALLOC &allocator=ALLOC()) | |
IBasicReflectableDataPtr< ALLOC > | read (const IBasicTypeInfo< ALLOC > &typeInfo) |
Reads zserio object tree defined by a type info from a text stream.
Definition at line 195 of file JsonReader.h.
|
inlineexplicit |
Constructor.
in | Text stream to read. |
allocator | Allocator to use. |
Definition at line 204 of file JsonReader.h.
|
inline |
Reads a zserio object tree defined by the given type info from the text stream.
typeInfo | Type info defining the expected zserio object tree. |
CppRuntimeException | When the JSON doesn't contain expected zserio object tree. |
Definition at line 217 of file JsonReader.h.