Creating Plot Twists
    Preparing search index...

    Type Alias Serializable

    Serializable:
        | string
        | number
        | boolean
        | null
        | undefined
        | Date
        | RegExp
        | Error
        | URL
        | bigint
        | SerializableArray
        | SerializableObject
        | SerializableMap
        | SerializableSet

    Types supported by SuperJSON serialization.

    SuperJSON extends standard JSON serialization to support additional JavaScript types while maintaining type safety and preventing common serialization errors.

    Supported types:

    • Primitives: string, number, boolean, null, undefined
    • Complex types: Date, RegExp, Map, Set, Error, URL, BigInt
    • Collections: Arrays and objects (recursively)

    NOT supported (will throw validation errors):

    • Functions
    • Symbols
    • Circular references
    • Custom class instances (unless explicitly registered)