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