cesium-native
0.41.0
|
Reads JSON. More...
#include <CesiumJsonReader/JsonReader.h>
Static Public Member Functions | |
template<typename T > | |
static ReadJsonResult< typename T::ValueType > | readJson (const gsl::span< const std::byte > &data, T &handler) |
Reads JSON from a byte buffer into a statically-typed class. More... | |
template<typename T > | |
static ReadJsonResult< typename T::ValueType > | readJson (const rapidjson::Value &jsonValue, T &handler) |
Reads JSON from a rapidjson::Value into a statically-typed class. More... | |
Reads JSON.
Definition at line 43 of file JsonReader.h.
|
inlinestatic |
Reads JSON from a byte buffer into a statically-typed class.
data | The buffer from which to read JSON. |
handler | The handler to receive the top-level JSON object. This instance must:
|
Definition at line 60 of file JsonReader.h.
|
inlinestatic |
Reads JSON from a rapidjson::Value
into a statically-typed class.
data | The rapidjson::Value from which to read JSON. |
handler | The handler to receive the top-level JSON object. This instance must:
|
Definition at line 97 of file JsonReader.h.