cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [05/12] ios commit: Don't bother pretty-printing in cdv_JSONString. Only slows things down.
Date Tue, 27 Jan 2015 17:00:47 GMT
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/4.0.x
Commit: 231be2cbffcd7dcb4f9d03ea365e135599362326
Parents: 2d64abe
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Jan 26 10:05:36 2015 -0500
Committer: Andrew Grieve <agrieve@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


Mime
View raw message