JSONDecodable

public protocol JSONDecodable

Undocumented

  • Undocumented

    Declaration

    Swift

    static func decode<T>(from data: Data) throws -> T where T : JSONDecodable
  • Undocumented

    Declaration

    Swift

    static func decodeArray<T>(from data: Data) throws -> [T] where T : JSONDecodable
  • Undocumented

    Declaration

    Swift

    static func decode<T>(from dictionary: [String : Any]) throws -> T where T : JSONDecodable
  • Undocumented

    Declaration

    Swift

    mutating func refresh(from dictionary: [String : Any]) throws
  • refreshJSONDecodable(from:) Extension method

    Undocumented

    Declaration

    Swift

    public mutating func refreshJSONDecodable(from dictionary: [String : Any]) throws
  • decodeJSONDecodable(from:) Extension method

    Undocumented

    Declaration

    Swift

    public static func decodeJSONDecodable<T>(from data: Data) throws -> T where T : JSONDecodable
  • Undocumented

    Declaration

    Swift

    public static func decodeArrayJSONDecodable<T>(from data: Data) throws -> [T] where T : JSONDecodable
  • decodeJSONDecodable(from:) Extension method

    Undocumented

    Declaration

    Swift

    public static func decodeJSONDecodable<T>(from dictionary: [String : Any]) throws -> T where T : JSONDecodable

Available where Self: JSONEncodable

  • refresh(from:) Default implementation

    Default Implementation

    Undocumented

    Declaration

    Swift

    public mutating func refresh(from _self: Self) throws

Available where Self: BaseMappable

  • refreshMappable(from:) Extension method

    Undocumented

    Declaration

    Swift

    public mutating func refreshMappable(from json: [String : Any]) throws
  • decodeMappable(from:) Extension method

    Undocumented

    Declaration

    Swift

    public static func decodeMappable(from data: Data) throws -> Self
  • decodeMappableArray(from:) Extension method

    Undocumented

    Declaration

    Swift

    public static func decodeMappableArray(from data: Data) throws -> [Any]
  • decodeMappable(from:) Extension method

    Undocumented

    Declaration

    Swift

    public static func decodeMappable(from dictionary: [String : Any]) throws -> Self