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