Yini
1.0
|
Adds JSON parsing methods to NSString. More...
#import <NSString+DBJSON.h>
Public Member Functions | |
(id) | - JSONFragmentValue |
Returns the object represented in the receiver, or nil on error. | |
(id) | - JSONValue |
Returns the NSDictionary or NSArray represented by the current string's JSON representation. |
Adds JSON parsing methods to NSString.
This is a category on NSString that adds methods for parsing the target string.
- (id) JSONFragmentValue |
Returns the object represented in the receiver, or nil on error.
Returns a a scalar object represented by the string's JSON fragment representation.
- (id) JSONValue |
Returns the NSDictionary or NSArray represented by the current string's JSON representation.
Returns the dictionary or array represented in the receiver, or nil on error.
Returns the NSDictionary or NSArray represented by the current string's JSON representation.