Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ARC #15

Merged
merged 2 commits into from
Oct 12, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/CDataScanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
NSUInteger length;
}

@property (readwrite, nonatomic, retain) NSData *data;
@property (readwrite, nonatomic, strong) NSData *data;
@property (readwrite, nonatomic, assign) NSUInteger scanLocation;
@property (readonly, nonatomic, assign) NSUInteger bytesRemaining;
@property (readonly, nonatomic, assign) BOOL isAtEnd;
Expand Down
4 changes: 2 additions & 2 deletions Source/JSON/CJSONDeserializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ typedef NSUInteger EJSONDeserializationOptions;
EJSONDeserializationOptions options;
}

@property (readwrite, nonatomic, retain) CJSONScanner *scanner;
@property (readwrite, nonatomic, strong) CJSONScanner *scanner;
/// Object to return instead when a null encountered in the JSON. Defaults to NSNull. Setting to null causes the scanner to skip null values.
@property (readwrite, nonatomic, retain) id nullObject;
@property (readwrite, nonatomic, strong) id nullObject;
/// JSON must be encoded in Unicode (UTF-8, UTF-16 or UTF-32). Use this if you expect to get the JSON in another encoding.
@property (readwrite, nonatomic, assign) NSStringEncoding allowedEncoding;
@property (readwrite, nonatomic, assign) EJSONDeserializationOptions options;
Expand Down
2 changes: 1 addition & 1 deletion Source/JSON/CJSONScanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ typedef NSUInteger EJSONScannerOptions;
}

@property (readwrite, nonatomic, assign) BOOL strictEscapeCodes;
@property (readwrite, nonatomic, retain) id nullObject;
@property (readwrite, nonatomic, strong) id nullObject;
@property (readwrite, nonatomic, assign) NSStringEncoding allowedEncoding;
@property (readwrite, nonatomic, assign) EJSONScannerOptions options;

Expand Down
2 changes: 1 addition & 1 deletion Source/JSON/CJSONScanner.m
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ - (BOOL)scanJSONDictionary:(NSDictionary **)outDictionary error:(NSError **)outE
[self setScanLocation:theScanLocation];
if (outError)
{
*outError = [self error:kJSONScannerErrorDomain description:@"kJSONScannerErrorCode_DictionaryKeyValuePairNoDelimiter"];
*outError = [self error:kJSONScannerErrorCode_DictionaryNotTerminated description:@"kJSONScannerErrorCode_DictionaryKeyValuePairNoDelimiter"];
}
return(NO);
}
Expand Down