BDPJSONSerializable
Objective-C
@protocol BDPJSONSerializable <NSObject>
Swift
protocol BDPJSONSerializable : NSObjectProtocol
Any object can be Json-serialized to a Dictionary of Foundation objects
-
Declaration
Objective-C
- (NSDictionary *_Nullable)dictionaryRepresentation;
Swift
func dictionaryRepresentation() -> [AnyHashable : Any]?
Return Value
the dicionary representing the object to be serialized