cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumJsonReader Namespace Reference

Classes for reading JSON. More...

Classes

class  ArrayJsonHandler
 IJsonHandler for reading a JSON array into an std::vector. More...
 
class  ArrayJsonHandler< double, DoubleJsonHandler >
 Special case of ArrayJsonHandler for handling arrays of double values. This will read every scalar value as a double, regardless of whether it's floating point or not. Attempting to read other values will cause a warning. More...
 
class  ArrayJsonHandler< std::string, StringJsonHandler >
 Special case of ArrayJsonHandler for reading arrays of string values. Attempting to read other values will cause a warning. More...
 
class  ArrayJsonHandler< std::vector< T >, ArrayJsonHandler< T, THandler > >
 Special case of ArrayJsonHandler for reading arrays of arrays. Attempting to read other values will cause a warning. More...
 
class  ArrayJsonHandler< T, IntegerJsonHandler< T > >
 Special case of ArrayJsonHandler for handling arrays of integer values. Attempting to read other values will cause a warning. More...
 
class  BoolJsonHandler
 IJsonHandler for reading bool values. More...
 
class  DictionaryJsonHandler
 Reads the keys and values of a JSON object into a std::map<std::string, T> or an std::unordered_map<std::string, T>. More...
 
class  DoubleJsonHandler
 IJsonHandler for reading double values. More...
 
class  ExtensibleObjectJsonHandler
 An IJsonHandler for reading ExtensibleObject types. More...
 
class  ExtensionsJsonHandler
 IJsonHandler for reading extensions, such as those listed in an ExtensibleObject. More...
 
class  IExtensionJsonHandler
 An interface for JSON handlers that handle extensions on ExtensibleObject types. More...
 
class  IgnoreValueJsonHandler
 IJsonHandler that does nothing but ignore the next value. More...
 
class  IJsonHandler
 Base interface for all JSON handlers. Types that need to be deserialized from JSON should implement IJsonHandler or a class that derives from it. As the JSON is parsed, the corresponding read... method to the token that was parsed will be called. These methods can return themselves or a different handler to handle the value. More...
 
class  IntegerJsonHandler
 IJsonHandler for reading integer values. More...
 
class  JsonHandler
 A dummy implementation of IJsonHandler that will report a warning and return its parent when any of its read... methods are called. More...
 
class  JsonObjectJsonHandler
 IJsonHandler for arbitrary CesiumUtility::JsonValue JsonValue objects. More...
 
class  JsonReader
 Reads JSON. More...
 
class  JsonReaderOptions
 Holds options for reading statically-typed data structures from JSON. More...
 
class  ObjectJsonHandler
 IJsonHandler for handling JSON objects. More...
 
struct  ReadJsonResult
 The result of JsonReader::readJson. More...
 
class  SharedAssetJsonHandler
 IJsonHandler for SharedAsset values. More...
 
class  StringJsonHandler
 IJsonHandler for reading string values. More...
 

Enumerations

enum class  ExtensionState { Enabled , JsonOnly , Disabled }
 The state of an extension. More...
 

Detailed Description

Classes for reading JSON.

--- comment: This file was generated by dep-graph-gen. DO NOT EDIT THIS FILE! title: CesiumJsonReader Dependency Graph --- graph TD classDef dependencyNode fill:#fff,stroke:#ccc,color:#666,font-weight:bold,font-size:28px classDef libraryNode fill:#9f9,font-weight:bold,font-size:28px CesiumJsonReader[CesiumJsonReader] --> CesiumUtility[CesiumUtility] class CesiumUtility,CesiumJsonReader libraryNode

Enumeration Type Documentation

◆ ExtensionState

The state of an extension.

Enumerator
Enabled 

The extension is enabled.

If a statically-typed class is available for the extension, it will be used. Otherwise the extension will be represented as a CesiumUtility::JsonValue.

JsonOnly 

The extension is enabled but will always be deserialized as a CesiumUtility::JsonValue.

Even if a statically-typed class is available for the extension, it will not be used.

Disabled 

The extension is disabled.

It will not be represented in the loaded model at all.

Definition at line 18 of file JsonReaderOptions.h.