blob: ddafc0e5772dbfaea8032ac21c07a2b03016d74e [file] [log] [blame] [edit]
diff -aruN json-1.3/src/json.c json-1.3.N/src/json.c
--- json-1.3/src/json.c 2015-06-11 19:17:20.000000000 -0700
+++ json-1.3.N/src/json.c 2015-06-11 19:16:07.000000000 -0700
@@ -2153,6 +2153,10 @@
info->state = 1; /* begin object */
break;
+ case LEX_BEGIN_ARRAY:
+ info->state = 7; /* begin array */
+ break;
+
case LEX_INVALID_CHARACTER:
return JSON_MALFORMED_DOCUMENT;
break;