Gets the constructor based on the type id.
Gets the type id for an object instance, using the configured typeAttribute
.
The default reviver function used during deserialization. By default is detects type properties on objects and uses them to re-construct the correct object using the provided constructor mapping.