Deserialize a value from its JSON representation.
The input is the __value from the serialized JSON.
The stored JSON value
The deserialized runtime value
Serialize a value to a JSON-compatible representation.
The returned value will be stored under __value in the serialized JSON.
The value to serialize
A JSON-compatible value
Test if a runtime value should be handled by this serializer.
The value to test
true if this serializer should handle this value
Serializer for JavaScript Map objects. Serializes a Map as an array of key-value pairs.
Example