30 #import <Foundation/Foundation.h>
58 @property (readonly, copy) NSString *
error;
93 - (NSString*)stringWithObject:(
id)value;
102 - (NSData*)dataWithObject:(
id)value;
103 - (NSString*)stringWithObject:(
id)value
114 error:(NSError**)error;
BOOL sortKeys
Whether or not to sort the dictionary keys in the output.
Definition: SBJsonWriter.h:76
The JSON writer class.
Definition: SBJsonWriter.h:40
NSString * error
Return an error trace, or nil if there was no errors.
Definition: SBJsonWriter.h:58
NSComparator sortKeysComparator
An optional comparator to be used if sortKeys is YES.
Definition: SBJsonWriter.h:83
BOOL humanReadable
Whether we are generating human-readable (multiline) JSON.
Definition: SBJsonWriter.h:68
NSUInteger maxDepth
The maximum recursing depth.
Definition: SBJsonWriter.h:49