A context for writing extensions where known extensions and their handlers can be registered.
ExtensionState getExtensionState(const std::string &extensionName) const
Returns whether an extension is enabled or disabled.
ExtensionHandler< std::any > createExtensionHandler(const std::string_view &extensionName, const std::any &obj, const std::string &extendedObjectType) const
Attempts to create an ExtensionHandler for the given object, returning nullptr if no handler could be...
bool hasRegisteredExtensions(const TExtended &obj, JsonWriter &jsonWriter, const ExtensionWriterContext &context)
Checks if the provided object has any extensions attached that have been registered with the provided...