From c93ed31284c3f9335d2744c4db2f54165ad264f4 Mon Sep 17 00:00:00 2001 From: Joey Adams Date: Tue, 6 Jul 2010 00:51:48 -0400 Subject: * Added json_get * Affirmed (with a trivial test) that json_path returns its results breadth-first --- json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'json.c') 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(); -- cgit v1.2.3