|
cesium-native 0.53.0
|
Reads JSON. More...
#include <CesiumJsonReader/JsonReader.h>
Static Public Member Functions | |
| template<typename T> | |
| static ReadJsonResult< typename T::ValueType > | readJson (const std::span< const std::byte > &data, T &handler) |
| Reads JSON from a byte buffer into a statically-typed class. | |
| 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. | |
Reads JSON.
Definition at line 43 of file JsonReader.h.
|
inlinestatic |
Reads JSON from a rapidjson::Value into a statically-typed class.
| jsonValue | 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.
|
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.