Contains interfaces which describe the JSON output. Each interface is related to a specific type of serializer.
Plugins
Plugins which modify the serialization process can use declaration merging
to add custom properties to the exported interfaces.
For example, if your custom serializer adds a property to all Reflection objects:
If a plugin defines a new Model type, ModelToObject will not pick up the serializer type and
the resulting type will not be included in the return type of Serializer.toObject.
To fix this, use declaration merging to augment the Serializer class.
Contains interfaces which describe the JSON output. Each interface is related to a specific type of serializer.
Plugins
Plugins which modify the serialization process can use declaration merging to add custom properties to the exported interfaces. For example, if your custom serializer adds a property to all Reflection objects:
If a plugin defines a new Model type, ModelToObject will not pick up the serializer type and the resulting type will not be included in the return type of Serializer.toObject. To fix this, use declaration merging to augment the Serializer class.
For documentation on the JSON output properties, view the corresponding model.