AliyunJSONModel
Deprecated
@interface AliyunJSONModel : NSObject
* Deprecated.
-
Creates a JSONModel object.
Declaration
Objective-C
- (instancetype)initWithDictionary:(NSDictionary *)dic;
Parameters
dic
The data dictionary.
Return Value
JSONModel
-
Converts a dictionary.
Declaration
Objective-C
- (NSDictionary *)toDictionary;
Return Value
The converted data dictionary.
-
Creates a JSONModel object.
Declaration
Objective-C
- (instancetype)initWithFile:(NSString *)path;
Parameters
path
The file path.
Return Value
JSONModel
-
Writes data to a file.
Declaration
Objective-C
- (void)jsonToFile:(NSString *)path;
Parameters
path
The file path.
-
* Overrides the system method.
Declaration
Objective-C
- (void)setValue:(id)value forUndefinedKey:(NSString *)key;
Parameters
value
value
key
key