Function decodeJSON

  • Decode a JSON string to an Encodable object.

    Type Parameters

    Parameters

    • encoded: string

      The JSON string to decode

    • c: EncodableClass<T>

      The class of the object to decode. This class must match the object that was encoded.

    Returns T

    An instance of the class with the decoded data

Generated using TypeDoc