You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/03/06 23:27:40 UTC
[08/31] ios commit: Don't bother pretty-printing in cdv_JSONString.
Only slows things down.
Don't bother pretty-printing in cdv_JSONString. Only slows things down.
This reverts commit 60f8c589b8dad8f54ed5edca03e58fe2489cd9ee.
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/231be2cb
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/231be2cb
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/231be2cb
Branch: refs/heads/wkwebview
Commit: 231be2cbffcd7dcb4f9d03ea365e135599362326
Parents: 2d64abe
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Jan 26 10:05:36 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jan 26 10:05:36 2015 -0500
----------------------------------------------------------------------
CordovaLib/Classes/CDVJSON.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/231be2cb/CordovaLib/Classes/CDVJSON.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVJSON.m b/CordovaLib/Classes/CDVJSON.m
index 4698bfe..6bc6b8c 100644
--- a/CordovaLib/Classes/CDVJSON.m
+++ b/CordovaLib/Classes/CDVJSON.m
@@ -26,7 +26,7 @@
{
NSError* error = nil;
NSData* jsonData = [NSJSONSerialization dataWithJSONObject:self
- options:NSJSONWritingPrettyPrinted
+ options:0
error:&error];
if (error != nil) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org