JWJSONDecodable
@objc
public protocol JWJSONDecodable
An object that can decode itself from a JSONObject representation.
-
Returns a new object from the native JSON representation object.
Declaration
Swift
@objc(initFromJSON:) init?(from json: JSONObject)Parameters
jsonA
JSONObject(alias for[String: Any]) representing the required data to construct a valid object.