NSObject(NSObject_SBJsonWriting) Category Reference
Declared in | NSObject+SBJson.h |
Instance Methods
JSONRepresentation
Encodes the receiver into a JSON string
- (NSString *)JSONRepresentation
Return Value
the receiver encoded in JSON, or nil on error.
Discussion
Although defined as a category on NSObject it is only defined for NSArray and NSDictionary.
Warning: Deprecated in Version 3.2; will be removed in 4.0
Declared In
NSObject+SBJson.h