![]() |
Ignite Tools
|
Options for the parser class. More...
#import <UA_SBJsonParser.h>
Properties | |
NSUInteger | maxDepth |
The maximum recursing depth of the parser. |
Options for the parser class.
This exists so the UA_SBJSON facade can implement the options in the parser without having to re-declare them.
- (NSUInteger) maxDepth [read, write, assign] |
The maximum recursing depth of the parser.
Defaults to 512. If the input is nested deeper than this the input will be deemed to be malicious and the parser returns nil, signalling an error. ("Nested too deep".) You can turn off this security feature by setting the maxDepth value to 0.