DBOPENIDUserInfoResultSerializer
Objective-C
@interface DBOPENIDUserInfoResultSerializer : NSObject
Swift
class DBOPENIDUserInfoResultSerializer : NSObject
The serialization class for the UserInfoResult
struct.
-
Serializes
DBOPENIDUserInfoResult
instances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBOPENIDUserInfoResult *)instance;
Swift
class func serialize(_ instance: DBOPENIDUserInfoResult) -> [String : Any]?
Parameters
instance
An instance of the
DBOPENIDUserInfoResult
API object.Return Value
A json-compatible dictionary representation of the
DBOPENIDUserInfoResult
API object. -
Deserializes
DBOPENIDUserInfoResult
instances.Declaration
Objective-C
+ (nonnull DBOPENIDUserInfoResult *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;
Swift
class func deserialize(_ dict: [String : Any]) -> DBOPENIDUserInfoResult
Parameters
dict
A json-compatible dictionary representation of the
DBOPENIDUserInfoResult
API object.Return Value
An instantiation of the
DBOPENIDUserInfoResult
object.