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