Decodable

extension Decodable
  • Decode an object from json string.

    Declaration

    Swift

    public static func decode(fromJSON string: String, decoder: JSONDecoder = JSONDecoder()) -> Self?