• Takes a TypedJson object and converts it to instance of type Type.

    Deprecated

    Use the fromJSON function instead.

    Throws

    • If unexpected JSON string is passed.

    Returns

    The parsed instance.

    Type Parameters

    • S extends string

    Parameters

    • json: TypedJson<S>

      The typed JSON to convert.

    Returns S | EntrypointName<S>

Generated using TypeDoc