Skip to content
Browse files

apparently json requires / to be backslashable

  • Loading branch information...
1 parent 6a637f9 commit 2a60c3c816122f1c910d359dc451f65ae5ac13bd @chjj chjj committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/json.js
View
3 lib/json.js
@@ -265,8 +265,7 @@ Parser.prototype._parse = function(data) {
this.value += '\t';
break;
case '"':
- this.value += ch;
- break;
+ case '/':
case '\\':
this.value += ch;
break;

0 comments on commit 2a60c3c

Please sign in to comment.
Something went wrong with that request. Please try again.