A class that provides a base implementation for our JSON serializable objects.
@define{AGSJSONSerializableBase.h, ArcGIS}
- Since
- 100
◆ fromJSON:error:
Initializes and returns an object from its JSON representation.
- Parameters
-
JSONObject | NSDictionary or NSArray containing the JSON. |
error | encountered during the operation, if any. |
- Since
- 100
◆ toJSON:
- (nullable id) toJSON: |
|
(NSError **) |
error |
|
|
requiredinherited |
Returns JSON representation for this object.
- Parameters
-
error | encountered during the operation, if any. |
- Returns
NSDictionary
or NSArray
containing the JSON.
- Since
- 100
Reimplemented in AGSPortalItem.
◆ unknownJSON
- (NSDictionary<NSString*,id>*) unknownJSON |
|
readrequirednonatomiccopyinherited |
A dictionary of values that was in the source JSON but was unparsed by API.
- Returns
NSDictionary
containing the unknown JSON.
- Since
- 100
◆ unsupportedJSON
- (NSDictionary<NSString*,id>*) unsupportedJSON |
|
readnonatomiccopyinherited |
A dictionary of values that are supported by the REST API, but not exposed through the SDK API.
- Returns
NSDictionary
containing the unsupported JSON.
- Since
- 100