Class SArray<ValueT>

A Serializable that represents a concatenation of other Serializables.

Type Parameters

Hierarchy (view full)

Constructors

Properties

elementType?: (new () => ValueT)

Element constructor in fixed size SArrays.

Will only be present if length !== undefined.

Type declaration

    • new (): ValueT
    • Element constructor in fixed size SArrays.

      Will only be present if length !== undefined.

      Returns ValueT

length?: number

Fixed size, or undefined if dynamically sized.

value: ValueT[] = []

Array of Serializables.

Methods

  • Assigns elements from a JSON array.

    Conceptually equivalent to assigning to this.values directly, but recursively hydrates SObjects / SArrays / SerializableWrappers etc and invokes their assignJSON() to process JSON values.

    Parameters

    • jsonValues: unknown[]

    Returns void

Generated using TypeDoc