JSONDecodable

public protocol JSONDecodable

Protocol for creating model from SwiftyJSON object.

  • Creates model object from SwiftyJSON.JSON struct.

    Declaration

    Swift

    init(json: JSON) throws