The name of a static or instance method to call before the serialization of the typed object is started.
Function to call before deserializing and initializing the object, accepting two arguments: (1) sourceObject, an 'Object' instance with all properties already deserialized, and (2) rawSourceObject, a raw 'Object' instance representation of the current object in the serialized JSON (i.e. without deserialized properties).
An array of known types to recognize when encountering type-hints.
The name used to differentiate between different polymorphic types.
The name of a static or instance method to call when deserialization of the object is completed.
Whether to preserve null in the JSON output. When false it will not emit nor store the property if its value is null. Default: false.
A function that will emit a type hint on the resulting JSON. It will override the global typeEmitter.
A function that given a source object will resolve the type that should be instantiated. It will override the global type resolver.