5 // Created by Jonathan Wight on 12/07/2005.
6 // Copyright 2005 Toxic Software. All rights reserved.
9 #import "CDataScanner.h"
11 @interface CJSONScanner : CDataScanner {
13 NSCharacterSet *notQuoteCharacters;
14 NSCharacterSet *whitespaceCharacterSet;
17 @property (readwrite, assign) BOOL scanComments;
19 - (BOOL)scanJSONObject:(id *)outObject error:(NSError **)outError;
20 - (BOOL)scanJSONDictionary:(NSDictionary **)outDictionary error:(NSError **)outError;
21 - (BOOL)scanJSONArray:(NSArray **)outArray error:(NSError **)outError;
22 - (BOOL)scanJSONStringConstant:(NSString **)outStringConstant error:(NSError **)outError;
23 - (BOOL)scanJSONNumberConstant:(NSNumber **)outNumberConstant error:(NSError **)outError;
24 - (void)skipJSONWhitespace;