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