aboutsummaryrefslogtreecommitdiff
path: root/jim-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'jim-json.c')
-rw-r--r--jim-json.c3
1 files changed, 3 insertions, 0 deletions
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);