carb/dictionary/ISerializer.h
In directory: carb/dictionary
Source file: carb/dictionary/ISerializer.h
Interface to handle serializing data from a file format into an carb::dictionary::IDictionary item. This interface is currently implemented in two plugins, each offering a different input/output format - JSON and TOML. The plugins are called carb.dictionary.serializer-json.plugin
and carb.dictionary.serializer-toml.plugin
. The caller must ensure they are using the appropriate one for their needs when loading, the plugin, acquiring the interface, and performing serialization operations (both to and from strings).
Namespaces
carb: The main Carbonite namespace.
carb::dictionary: Namespace for carb::dictionary::IDictionary related interfaces and helpers.
Structs
carb::dictionary::ISerializer: Interface intended to serialize dictionary objects to and from plain C strings.