cesium-native 0.43.0
|
An interface for JSON handlers that handle extensions on ExtensibleObject types. More...
#include <CesiumJsonReader/IExtensionJsonHandler.h>
Public Member Functions | |
virtual void | reset (IJsonHandler *pParentHandler, CesiumUtility::ExtensibleObject &o, const std::string_view &extensionName)=0 |
Resets this IExtensionJsonHandler's parent handler, destination object, and extension name. | |
virtual IJsonHandler & | getHandler ()=0 |
Obtains an IJsonHandler from this IExtensionJsonHandler. | |
An interface for JSON handlers that handle extensions on ExtensibleObject types.
Usually, this will be a handler deriving from ExtensionsJsonHandler that handles the specific extension found in the JSON. However, unknown extensions are read by a special IExtensionJsonHandler returned by JsonReaderOptions::createExtensionHandler, which reads the extension into the ExtensibleObject's extensions
map as a JsonValue.
Definition at line 23 of file IExtensionJsonHandler.h.