JWInitializableFromJSON
@objc
public protocol JWInitializableFromJSON
For objects where the decodable pattern is not available, a static factory method can vend an object.
-
A static factory method that vends a new object decoded from a
JSONObject
representation.Declaration
Swift
static func from(json: JSONObject) -> Self?