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