summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
authorJoey Adams2010-07-06 04:51:48 +0000
committerJoey Adams2010-07-06 04:51:48 +0000
commitc93ed31284c3f9335d2744c4db2f54165ad264f4 (patch)
tree7c474e5e62daaba22d15f6281d45b427e71fdaee /json.c
parentb153d76442ba1ef1237c4cc36f491b3aff7b8510 (diff)
* Added json_get
* Affirmed (with a trivial test) that json_path returns its results breadth-first
Diffstat (limited to 'json.c')
-rw-r--r--json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.c b/json.c
index ade9eeb..23c8282 100644
--- a/json.c
+++ b/json.c
@@ -1065,7 +1065,7 @@ quote:
s++;
}
break;
- } if (*s == '"') {
+ } else if (*s == '"') {
/* We're converting single quotes to double quotes,
* so double quotes need to be automatically escaped. */
flush();