JSONCreated
public protocol JSONCreated
Portocol defining a standard method of creating an object from a SwiftyJSON object.
-
Initialise this object using a
SwiftyJSONobject. If theJSONobject is incorrect, this should throw an error.Declaration
Swift
init(json:JSON) throws
View on GitHub
JSONCreated Protocol Reference