Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <JsonParser.h>
Public Member Functions | |
virtual | ~IObserver ()=default |
virtual void | beginObject ()=0 |
virtual void | endObject ()=0 |
virtual void | beginArray ()=0 |
virtual void | endArray ()=0 |
virtual void | visitKey (StringView key)=0 |
virtual void | visitValue (std::nullptr_t nullValue)=0 |
virtual void | visitValue (bool boolValue)=0 |
virtual void | visitValue (int64_t intValue)=0 |
virtual void | visitValue (uint64_t uintValue)=0 |
virtual void | visitValue (double doubleValue)=0 |
virtual void | visitValue (StringView stringValue)=0 |
Json Parser Observer.
Definition at line 24 of file JsonParser.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Called when a JSON array begins - i.e. on '['.
|
pure virtual |
Called when a JSON object begins - i.e. on '{'.
|
pure virtual |
Called when a JSON array ends - i.e. on ']'.
|
pure virtual |
Called when a JSON objects ends - i.e. on '}'.
|
pure virtual |
Called on a JSON key.
key | String view to the key name. |
|
pure virtual |
Call on a JSON bool value.
boolValue | Bool value. |
|
pure virtual |
Call on a JSON floating point value.
doubleValue | Floating point value. |
|
pure virtual |
Call on a JSON signed integer value.
intValue | Signed integer value. |
|
pure virtual |
Call on a JSON null value.
nullValue | Null value. |
|
pure virtual |
Call on a JSON string value.
stringValue | String view to the string value. |
|
pure virtual |
Call on a JSON unsigned integer value.
uintValue | Unsigned integer value. |