JWJSONEncodable
@objc
public protocol JWJSONEncodable
An object that can encode itself into a JSONObject
representation.
-
Calling this method converts the object into a
JSONObject
.Declaration
Swift
func toJSONObject() -> JSONObject
Return Value
A
JSONObject
representing this object.