<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 AGSCodedValue AGSDensifyParameters AGSDistanceParameters AGSDomain AGSDynamicMapServiceLayer AGSEditResult AGSEditResultError AGSFeatureLayer AGSFeatureSet AGSFeatureTemplate AGSFeatureType AGSField AGSFindParameters AGSFindResult AGSGeneralizeParameters AGSGeometry AGSGPLinearUnit AGSGPMessage AGSGPParameterValue AGSGPRasterData AGSGPResultLayer AGSGraphic AGSIdentifyParameters AGSIdentifyResult AGSImageServiceInfo AGSLengthsParameters AGSLOD AGSMapServiceInfo AGSMapServiceLayerInfo AGSOffsetParameters AGSQuery AGSRelationParameters AGSRelationship AGSRelationshipQuery AGSRenderer AGSSpatialReference AGSSymbol AGSTiledMapServiceLayer AGSTileInfo AGSTimeInfo AGSTimeReference AGSTrimExtendParameters AGSUniqueValue

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