Custom JSON serialization. Returns the canonical @functype-marked
envelope object so native JSON.stringify (and the rest of the JSON
toJSON protocol) emits a round-trip-able shape that
Serialization.deserialize can reconstruct.
Added in 1.2.0. Concrete types narrow the return to their specific
marker/tag literals.
Custom JSON serialization. Returns the canonical
@functype-marked envelope object so nativeJSON.stringify(and the rest of the JSONtoJSONprotocol) emits a round-trip-able shape thatSerialization.deserializecan reconstruct.Added in 1.2.0. Concrete types narrow the return to their specific marker/tag literals.