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