JSONParametrizedDecodable

public protocol JSONParametrizedDecodable

Type can be converted from JSON according to parameters.

  • Decodes the reciever from JSON according to the specified parameters.

    Declaration

    Swift

    init?(JSONValue: JSON.Value, parameters: JSONDecodingParameters)
  • fromJSON(_:parameters:) Extension method

    Decodes from an array of JSON values.

    Declaration

    Swift

    static func fromJSON(JSONArray: JSON.Array, parameters: JSONDecodingParameters) -> [Self]?