Permalink
Browse files

No need to escape single quotes in JSON strings

  • Loading branch information...
p2 committed Feb 4, 2014
1 parent d48b8a7 commit 1c495d4bf856c03768fc879828c4f71017070c91
Showing with 1 addition and 3 deletions.
  1. +1 −3 FileExport/PPStringFormat.m
@@ -424,9 +424,7 @@ + (PPStringFormat *) jsonFormat
// Setup CSV properties
NSArray *transformPairs = [PPStringFormatTransformPair transformPairsFromTo:
@"\\", @"\\\\",
- @"\"", @"\\\"",
- @"'", @"\\'",
- nil];
+ @"\"", @"\\\"", nil];
PPStringFormatEntity *valueEntity = [PPStringFormatEntity formatEntity];
valueEntity.separator = @",\n\t\t";

0 comments on commit 1c495d4

Please sign in to comment.