diff options
author | Steve Bennett <steveb@workware.net.au> | 2019-11-09 21:03:18 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2019-11-09 21:06:57 +1000 |
commit | 7bb4dffaa22b9d90982a561f464d54a7f20c2032 (patch) | |
tree | 2f94cb0d63f128ac99ebcf1c5948eed52b49157a /jim-json.c | |
parent | dd064e670daf910fa50e138ec0c36822405b60f5 (diff) | |
download | jimtcl-7bb4dffaa22b9d90982a561f464d54a7f20c2032.zip jimtcl-7bb4dffaa22b9d90982a561f464d54a7f20c2032.tar.gz jimtcl-7bb4dffaa22b9d90982a561f464d54a7f20c2032.tar.bz2 |
json: Fix decode schema for list obj
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-json.c')
-rw-r--r-- | jim-json.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |