From 7bb4dffaa22b9d90982a561f464d54a7f20c2032 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sat, 9 Nov 2019 21:03:18 +1000 Subject: json: Fix decode schema for list obj Signed-off-by: Steve Bennett --- jim-json.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jim-json.c') diff --git a/jim-json.c b/jim-json.c index c75ac74..0a47d4d 100644 --- a/jim-json.c +++ b/jim-json.c @@ -159,6 +159,9 @@ json_decode_dump_container(Jim_Interp *interp, struct json_state *state) } } } + else { + container_type = JSON_MIXED; + } } } json_decode_add_schema_type(interp, state, container_type); -- cgit v1.1