DBJSON Class Reference
Inherits from | DBJsonBase : NSObject |
Conforms to | DBJsonParser DBJsonWriter |
Declared in | DBJSON.h |
Tasks
-
– fragmentWithString:error:
Return the fragment represented by the given string
-
– objectWithString:error:
Return the object represented by the given string
-
– objectWithString:allowScalar:error:
Parse the string and return the represented object (or scalar)
-
– stringWithObject:error:
Return JSON representation of an array or dictionary
-
– stringWithFragment:error:
Return JSON representation of any legal JSON value
-
– stringWithObject:allowScalar:error:
Return JSON representation (or fragment) for the given object
Instance Methods
fragmentWithString:error:
Return the fragment represented by the given string
- (id)fragmentWithString:(NSString *)jsonrep error:(NSError **)error
Declared In
DBJSON.h
objectWithString:allowScalar:error:
Parse the string and return the represented object (or scalar)
- (id)objectWithString:(id)value allowScalar:(BOOL)x error:(NSError **)error
Declared In
DBJSON.h
objectWithString:error:
Return the object represented by the given string
- (id)objectWithString:(NSString *)jsonrep error:(NSError **)error
Declared In
DBJSON.h
stringWithFragment:error:
Return JSON representation of any legal JSON value
- (NSString *)stringWithFragment:(id)value error:(NSError **)error
Declared In
DBJSON.h