cesium-native  0.41.0
ExtensibleObjectJsonHandler.h
1 #pragma once
2 
3 #include "DictionaryJsonHandler.h"
4 #include "ExtensionsJsonHandler.h"
5 #include "JsonObjectJsonHandler.h"
6 #include "JsonReaderOptions.h"
7 #include "ObjectJsonHandler.h"
8 
9 #include <CesiumUtility/ExtensibleObject.h>
10 #include <CesiumUtility/JsonValue.h>
11 
12 namespace CesiumJsonReader {
13 
15 public:
17  const JsonReaderOptions& context) noexcept;
18 
19 protected:
20  void reset(IJsonHandler* pParent, CesiumUtility::ExtensibleObject* pObject);
21  IJsonHandler* readObjectKeyExtensibleObject(
22  const std::string& objectType,
23  const std::string_view& str,
25 
26 private:
30  _extras;
31  ExtensionsJsonHandler _extensions;
32  JsonObjectJsonHandler _unknownProperties;
33  bool _captureUnknownProperties;
34 };
35 } // namespace CesiumJsonReader
Holds options for reading statically-typed data structures from JSON.
A generic implementation of a value in a JSON structure.
Definition: JsonValue.h:67
Classes for reading JSON.
The base class for objects that have extensions and extras.