<AGSCoding> Protocol Reference


Description

This protocol must be adopted by all classes which wish to allow decoding/encoding from/to JSON.

Defined in:
AGSCoding.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for <AGSCoding>:
AGSAddressCandidate AGSAreasAndLengthsParameters AGSAttachmentInfo AGSBufferParameters AGSClassBreak AGSClosestFacilityTaskParameters AGSClosestFacilityTaskResult AGSCodedValue AGSDensifyParameters AGSDirectionGraphic AGSDirectionSet AGSDistanceParameters AGSDomain AGSDynamicMapServiceLayer AGSEditResult AGSEditResultError AGSFacilityGraphic AGSFeatureLayer AGSFeatureSet AGSFeatureTemplate AGSFeatureType AGSField AGSFindParameters AGSFindResult AGSGeneralizeParameters AGSGeometry AGSGPLinearUnit AGSGPMessage AGSGPParameterValue AGSGPRasterData AGSGPResultLayer AGSGraphic AGSIdentifyParameters AGSIdentifyResult AGSImageServiceIdentifyParameters AGSImageServiceIdentifyResult AGSImageServiceInfo AGSImageServiceLayer AGSIncidentGraphic AGSLabelClass AGSLayerTimeOptions AGSLengthsParameters AGSLOD AGSMapServiceInfo AGSMapServiceLayerInfo AGSMapServiceTableInfo AGSMosaicRule AGSNALayerDefinition AGSNAMessage AGSOffsetParameters AGSPopupFieldInfo AGSPopupInfo AGSPopupMediaInfo AGSQuery AGSRasterFunction AGSRelationParameters AGSRelationship AGSRelationshipQuery AGSRenderer AGSRouteTaskParameters AGSRouteTaskResult AGSServiceAreaTaskParameters AGSServiceAreaTaskResult AGSSpatialReference AGSStopGraphic AGSSymbol AGSTiledMapServiceLayer AGSTileInfo AGSTimeInfo AGSTimeReference AGSTrimExtendParameters AGSUniqueValue AGSWebMap AGSWebMapBookmark

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Member Function Documentation

- (void) decodeWithJSON: (NSDictionary *)  json   [optional]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0