DBSHARINGUserInfoSerializer
Objective-C
@interface DBSHARINGUserInfoSerializer : NSObject
Swift
class DBSHARINGUserInfoSerializer : NSObject
The serialization class for the UserInfo struct.
-
Serializes
DBSHARINGUserInfoinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBSHARINGUserInfo *)instance;Swift
class func serialize(_ instance: DBSHARINGUserInfo) -> [String : Any]?Parameters
instanceAn instance of the
DBSHARINGUserInfoAPI object.Return Value
A json-compatible dictionary representation of the
DBSHARINGUserInfoAPI object. -
Deserializes
DBSHARINGUserInfoinstances.Declaration
Objective-C
+ (nonnull DBSHARINGUserInfo *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBSHARINGUserInfoParameters
dictA json-compatible dictionary representation of the
DBSHARINGUserInfoAPI object.Return Value
An instantiation of the
DBSHARINGUserInfoobject.
View on GitHub
DBSHARINGUserInfoSerializer Class Reference