Decodable

public extension Decodable
  • Undocumented

    Declaration

    Swift

    static func decoded(from data: Data, using decoder: AnyDecoder = JSONDecoder(), as type: Self.Type = Self.self) throws -> Self
  • Undocumented

    Declaration

    Swift

    static func decoded(from json: [String : Any], using decoder: JSONDecoder = JSONDecoder(), as type: Self.Type = Self.self) throws -> Self
  • Undocumented

    Declaration

    Swift

    static func decoded(from jsonArray: [Any], using decoder: JSONDecoder = JSONDecoder(), as type: Self.Type = Self.self) throws -> Self
  • Undocumented

    Declaration

    Swift

    static func decoded(from string: String, using decoder: JSONDecoder = JSONDecoder(), as type: Self.Type = Self.self) throws -> Self