Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <JsonReader.h>
Public Member Functions | |
BasicJsonReader (std::istream &in, const ALLOC &allocator=ALLOC()) | |
IBasicReflectablePtr< ALLOC > | read (const IBasicTypeInfo< ALLOC > &typeInfo) |
Reads zserio object tree defined by a type info from a text stream.
Definition at line 185 of file JsonReader.h.
|
inlineexplicit |
Constructor.
in | Text stream to read. |
allocator | Allocator to use. |
Definition at line 194 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 207 of file JsonReader.h.