aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSScanner+JSON.h
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMNSScanner+JSON.h')
-rw-r--r--Foundation/GTMNSScanner+JSON.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/Foundation/GTMNSScanner+JSON.h b/Foundation/GTMNSScanner+JSON.h
index 0ff8e65..553e3df 100644
--- a/Foundation/GTMNSScanner+JSON.h
+++ b/Foundation/GTMNSScanner+JSON.h
@@ -23,16 +23,12 @@
// Grabs the first JSON Object (dictionary) that it finds and returns it
// in jsonString. We don't parse the json, we just return the first valid JSON
-// dictionary we find. There are several other JSON parser packages that
-// will actually parse the json for you. We recommend json-framework
-// http://code.google.com/p/json-framework/
-- (BOOL)gtm_scanJSONObjectString:(NSString **)jsonString;
+// dictionary we find. Please use NSJSONSerialization instead.
+- (BOOL)gtm_scanJSONObjectString:(NSString **)jsonString NS_DEPRECATED(10_0, 10_7, 2_0, 5_0, "Use NSJSONSerialization instead");
// Grabs the first JSON Array (array) that it finds and returns it
// in jsonString. We don't parse the json, we just return the first valid JSON
-// array we find. There are several other JSON parser packages that
-// will actually parse the json for you. We recommend json-framework
-// http://code.google.com/p/json-framework/
-- (BOOL)gtm_scanJSONArrayString:(NSString**)jsonString;
+// array we find. Please use NSJSONSerialization instead.
+- (BOOL)gtm_scanJSONArrayString:(NSString**)jsonString NS_DEPRECATED(10_0, 10_7, 2_0, 5_0, "Use NSJSONSerialization instead");
@end