• Main Page
  • Classes
  • Globals

JSONUtility.h

00001 /*
00002  COPYRIGHT 2009 ESRI
00003  
00004  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
00005  Unpublished material - all rights reserved under the
00006  Copyright Laws of the United States and applicable international
00007  laws, treaties, and conventions.
00008  
00009  For additional information, contact:
00010  Environmental Systems Research Institute, Inc.
00011  Attn: Contracts and Legal Services Department
00012  380 New York Street
00013  Redlands, California, 92373
00014  USA
00015  
00016  email: contracts@esri.com
00017  */
00018 
00019 #import <Foundation/Foundation.h>
00020 
00028 @interface JSONUtility : NSObject {
00029 
00030 }
00031 
00038 +(void)encodeToDictionary: (NSMutableDictionary *)json
00039       withKey:(NSString *)key
00040      AGSCodingArray: (NSArray *)items;
00041 
00050 +(NSMutableArray *)decodeFromDictionary: (NSDictionary *)json
00051        withKey:(NSString *)key
00052         fromClass:(Class) cls;
00053 
00061 +(NSString*)getStringFromDictionary: (NSDictionary *)json
00062        withKey:(NSString *)key;
00063 
00064 @end
Copyright © 1995-2010 Esri. All rights reserved.