Data deserialization options passed to deserializer.

Hierarchy

Properties

data?: Record<PropertyKey, unknown>

Custom deserialization data.

This data can be used by deserializers and handlers.

entities?: {
    [entity: string]: EntityUcrx | undefined;
}

Map of recognized entity receivers.

By default, entities will be deserialized by compiler.

Type declaration

formats?: {
    [entity: string]: FormatUcrx | undefined;
}

Map of recognized formatted data receivers.

By default, formatted data will be deserialized by compiler.

Type declaration

onError?: ((this, error) => void)

Type declaration

    • (this, error): void
    • Function to call to report deserialization error.

      By default, throws an churi!UcError with the given error info.

      Parameters

      Returns void

onMeta?: MetaUcrx

Function to call to deserialize metadata attribute.

By default, metadata attribute value will be deserialized as unknown.

opaqueRx?: Ucrx

Generated using TypeDoc