OptionalallowedRestrict deserialization to this list of type IDs
OptionalallowAllow RegExp patterns that fail the safety heuristic
OptionalmaxMaximum recursion depth allowed during serialize/deserialize
OptionalmaxMaximum accepted RegExp pattern length during deserialization
OptionalprettyWhether to pretty-print JSON (for debugging)
OptionalschemasMatch schema DTO classes to auto-register as serializer types
OptionalsymbolControls which Symbol payloads may be deserialized.
Defaults to allow-all, accepting well-known symbols and global Symbol.for keys.
Use well-known-only or disabled to restrict symbol deserialization explicitly.
OptionaltypesExplicit custom serializer types to register at construction time
Main serializer options