Class CLTypeRaw

Represents a raw CLType message that can be parsed into a CLType instance. This class utilizes typedjson decorators for JSON serialization and deserialization.

Hierarchy

  • CLTypeRaw

Constructors

Properties

Methods

Constructors

Properties

rawMessage: CLType

The raw message string representation of a CLType.

Methods

  • Parses the raw message into a CLType object.

    Returns

    A CLType instance if parsing is successful.

    Throws

    Error if parsing fails, with a descriptive error message.

    Returns any

  • Parses the raw message into a CLType object.

    Returns

    A CLType instance if parsing is successful.

    Throws

    Error if parsing fails, with a descriptive error message.

    Parameters

    • json: any

    Returns CLType | Error

Generated using TypeDoc