JSONDecodable
public protocol JSONDecodable
Type can be converted from JSON.
-
Decodes the reciever from JSON.
Declaration
Swift
init?(JSONValue: JSON.Value)
-
fromJSON(_:)
Extension methodDecodes from an array of JSON values.
Declaration
Swift
static func fromJSON(JSONArray: JSON.Array) -> [Self]?