summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-08-04 21:50:43 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-08-04 21:50:43 +0200
commitf979ba0e12a01749aa6683401a7543629c00a09e (patch)
treee90dd90b2fd9d5a9bab6e4f584e58d2565dbfbd1
parentea912913de55917525c6de6a9aca337e609384fb (diff)
Don't escape / in JSON.
-rw-r--r--json.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/json.cpp b/json.cpp
index 0277cce..042dde7 100644
--- a/json.cpp
+++ b/json.cpp
@@ -62,7 +62,6 @@ struct generate : public boost::static_visitor<std::ostream&> {
switch(*it) {
case '\"':
case '\\':
- case '/':
stream << '\\' << *it;
break;