# Copyright (C) 2016, 2017  Stefan Vargyas
# 
# This file is part of Json-Type.
# 
# Json-Type is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# Json-Type is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with Json-Type.  If not, see <http://www.gnu.org/licenses/>.

#
# json type-checker test suite:
#

$ . ~/regtest2.sh
$ alias json-type-checker-regtest='regtest2-selftest -f test-json-type-checker.txt -a exec=pipe -B'

# output all test names:
$ json-type-checker-regtest -N
...

# run all tests:
$ json-type-checker-regtest -A
...

--[ prereq ]--------------------------------------------------------------------

$ export JSON_TYPE_CHECK_ERROR_COMPLETE_TYPES=yes
$ json() { LD_LIBRARY_PATH=../lib ../src/json --terse --verbose --literal-value "$@"; }
$

--[ basic ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '{"foo":null}' '{"foo":false,"bar":123}' '{"foo":{},"bar":[]}' '{"foo":{"bar":{"baz":[]}}}' '[]' '[null]' '[false]' '[456]' '[""]' '[{}]' '[{"foo":null}]' '[{"foo":null,"bar":false}]' '[{"foo":[],"bar":{}}]' '[[]]' '[[],[]]'; do c="json -d '\"$t\"' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '"type"' <<< 'null'
null
$ json -d '"type"' <<< 'false'
false
$ json -d '"type"' <<< 'true'
true
$ json -d '"type"' <<< '123'
123
$ json -d '"type"' <<< '"foo"'
"foo"
$ json -d '"type"' <<< '{}'
{}
$ json -d '"type"' <<< '{"foo":null}'
{"foo":null}
$ json -d '"type"' <<< '{"foo":false,"bar":123}'
{"foo":false,"bar":123}
$ json -d '"type"' <<< '{"foo":{},"bar":[]}'
{"foo":{},"bar":[]}
$ json -d '"type"' <<< '{"foo":{"bar":{"baz":[]}}}'
{"foo":{"bar":{"baz":[]}}}
$ json -d '"type"' <<< '[]'
[]
$ json -d '"type"' <<< '[null]'
[null]
$ json -d '"type"' <<< '[false]'
[false]
$ json -d '"type"' <<< '[456]'
[456]
$ json -d '"type"' <<< '[""]'
[""]
$ json -d '"type"' <<< '[{}]'
[{}]
$ json -d '"type"' <<< '[{"foo":null}]'
[{"foo":null}]
$ json -d '"type"' <<< '[{"foo":null,"bar":false}]'
[{"foo":null,"bar":false}]
$ json -d '"type"' <<< '[{"foo":[],"bar":{}}]'
[{"foo":[],"bar":{}}]
$ json -d '"type"' <<< '[[]]'
[[]]
$ json -d '"type"' <<< '[[],[]]'
[[],[]]
$ json -d '"null"' <<< 'null'
null
$ json -d '"null"' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< 'false'
$ json -d '"null"' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< 'true'
$ json -d '"null"' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '123'
$ json -d '"null"' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '"foo"'
$ json -d '"null"' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '{}'
$ json -d '"null"' <<< '{"foo":null}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: {"foo":null}
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '{"foo":null}'
$ json -d '"null"' <<< '{"foo":false,"bar":123}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: {"foo":false,"bar":123}
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '{"foo":false,"bar":123}'
$ json -d '"null"' <<< '{"foo":{},"bar":[]}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: {"foo":{},"bar":[]}
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '{"foo":{},"bar":[]}'
$ json -d '"null"' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '"null"' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[]'
$ json -d '"null"' <<< '[null]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [null]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[null]'
$ json -d '"null"' <<< '[false]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [false]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[false]'
$ json -d '"null"' <<< '[456]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [456]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[456]'
$ json -d '"null"' <<< '[""]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [""]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[""]'
$ json -d '"null"' <<< '[{}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [{}]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[{}]'
$ json -d '"null"' <<< '[{"foo":null}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [{"foo":null}]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[{"foo":null}]'
$ json -d '"null"' <<< '[{"foo":null,"bar":false}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [{"foo":null,"bar":false}]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[{"foo":null,"bar":false}]'
$ json -d '"null"' <<< '[{"foo":[],"bar":{}}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [{"foo":[],"bar":{}}]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[{"foo":[],"bar":{}}]'
$ json -d '"null"' <<< '[[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[[]]'
$ json -d '"null"' <<< '[[],[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:1: [[],[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"null"' <<< '[[],[]]'
$ json -d '"boolean"' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< 'null'
$ json -d '"boolean"' <<< 'false'
false
$ json -d '"boolean"' <<< 'true'
true
$ json -d '"boolean"' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '123'
$ json -d '"boolean"' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '"foo"'
$ json -d '"boolean"' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '{}'
$ json -d '"boolean"' <<< '{"foo":null}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: {"foo":null}
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '{"foo":null}'
$ json -d '"boolean"' <<< '{"foo":false,"bar":123}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: {"foo":false,"bar":123}
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '{"foo":false,"bar":123}'
$ json -d '"boolean"' <<< '{"foo":{},"bar":[]}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: {"foo":{},"bar":[]}
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '{"foo":{},"bar":[]}'
$ json -d '"boolean"' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '"boolean"' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[]'
$ json -d '"boolean"' <<< '[null]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [null]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[null]'
$ json -d '"boolean"' <<< '[false]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [false]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[false]'
$ json -d '"boolean"' <<< '[456]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [456]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[456]'
$ json -d '"boolean"' <<< '[""]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [""]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[""]'
$ json -d '"boolean"' <<< '[{}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [{}]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[{}]'
$ json -d '"boolean"' <<< '[{"foo":null}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [{"foo":null}]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[{"foo":null}]'
$ json -d '"boolean"' <<< '[{"foo":null,"bar":false}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [{"foo":null,"bar":false}]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[{"foo":null,"bar":false}]'
$ json -d '"boolean"' <<< '[{"foo":[],"bar":{}}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [{"foo":[],"bar":{}}]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[{"foo":[],"bar":{}}]'
$ json -d '"boolean"' <<< '[[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[[]]'
$ json -d '"boolean"' <<< '[[],[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:1: [[],[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"boolean"' <<< '[[],[]]'
$ json -d '"number"' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< 'null'
$ json -d '"number"' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< 'false'
$ json -d '"number"' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< 'true'
$ json -d '"number"' <<< '123'
123
$ json -d '"number"' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '"foo"'
$ json -d '"number"' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '{}'
$ json -d '"number"' <<< '{"foo":null}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: {"foo":null}
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '{"foo":null}'
$ json -d '"number"' <<< '{"foo":false,"bar":123}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: {"foo":false,"bar":123}
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '{"foo":false,"bar":123}'
$ json -d '"number"' <<< '{"foo":{},"bar":[]}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: {"foo":{},"bar":[]}
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '{"foo":{},"bar":[]}'
$ json -d '"number"' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '"number"' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[]'
$ json -d '"number"' <<< '[null]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [null]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[null]'
$ json -d '"number"' <<< '[false]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [false]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[false]'
$ json -d '"number"' <<< '[456]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [456]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[456]'
$ json -d '"number"' <<< '[""]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [""]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[""]'
$ json -d '"number"' <<< '[{}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [{}]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[{}]'
$ json -d '"number"' <<< '[{"foo":null}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [{"foo":null}]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[{"foo":null}]'
$ json -d '"number"' <<< '[{"foo":null,"bar":false}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [{"foo":null,"bar":false}]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[{"foo":null,"bar":false}]'
$ json -d '"number"' <<< '[{"foo":[],"bar":{}}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [{"foo":[],"bar":{}}]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[{"foo":[],"bar":{}}]'
$ json -d '"number"' <<< '[[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[[]]'
$ json -d '"number"' <<< '[[],[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:1: [[],[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"number"' <<< '[[],[]]'
$ json -d '"string"' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< 'null'
$ json -d '"string"' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< 'false'
$ json -d '"string"' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< 'true'
$ json -d '"string"' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '123'
$ json -d '"string"' <<< '"foo"'
"foo"
$ json -d '"string"' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '{}'
$ json -d '"string"' <<< '{"foo":null}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: {"foo":null}
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '{"foo":null}'
$ json -d '"string"' <<< '{"foo":false,"bar":123}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: {"foo":false,"bar":123}
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '{"foo":false,"bar":123}'
$ json -d '"string"' <<< '{"foo":{},"bar":[]}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: {"foo":{},"bar":[]}
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '{"foo":{},"bar":[]}'
$ json -d '"string"' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '"string"' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[]'
$ json -d '"string"' <<< '[null]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [null]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[null]'
$ json -d '"string"' <<< '[false]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [false]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[false]'
$ json -d '"string"' <<< '[456]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [456]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[456]'
$ json -d '"string"' <<< '[""]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [""]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[""]'
$ json -d '"string"' <<< '[{}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [{}]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[{}]'
$ json -d '"string"' <<< '[{"foo":null}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [{"foo":null}]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[{"foo":null}]'
$ json -d '"string"' <<< '[{"foo":null,"bar":false}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [{"foo":null,"bar":false}]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[{"foo":null,"bar":false}]'
$ json -d '"string"' <<< '[{"foo":[],"bar":{}}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [{"foo":[],"bar":{}}]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[{"foo":[],"bar":{}}]'
$ json -d '"string"' <<< '[[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[[]]'
$ json -d '"string"' <<< '[[],[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:1: [[],[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"string"' <<< '[[],[]]'
$ json -d '"object"' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< 'null'
$ json -d '"object"' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< 'false'
$ json -d '"object"' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< 'true'
$ json -d '"object"' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '123'
$ json -d '"object"' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '"foo"'
$ json -d '"object"' <<< '{}'
{}
$ json -d '"object"' <<< '{"foo":null}'
{"foo":null}
$ json -d '"object"' <<< '{"foo":false,"bar":123}'
{"foo":false,"bar":123}
$ json -d '"object"' <<< '{"foo":{},"bar":[]}'
{"foo":{},"bar":[]}
$ json -d '"object"' <<< '{"foo":{"bar":{"baz":[]}}}'
{"foo":{"bar":{"baz":[]}}}
$ json -d '"object"' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[]'
$ json -d '"object"' <<< '[null]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [null]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[null]'
$ json -d '"object"' <<< '[false]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [false]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[false]'
$ json -d '"object"' <<< '[456]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [456]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[456]'
$ json -d '"object"' <<< '[""]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [""]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[""]'
$ json -d '"object"' <<< '[{}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [{}]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[{}]'
$ json -d '"object"' <<< '[{"foo":null}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [{"foo":null}]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[{"foo":null}]'
$ json -d '"object"' <<< '[{"foo":null,"bar":false}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [{"foo":null,"bar":false}]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[{"foo":null,"bar":false}]'
$ json -d '"object"' <<< '[{"foo":[],"bar":{}}]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [{"foo":[],"bar":{}}]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[{"foo":[],"bar":{}}]'
$ json -d '"object"' <<< '[[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[[]]'
$ json -d '"object"' <<< '[[],[]]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:1: [[],[]]
json: error: <stdin>:1:1: ^
command failed: json -d '"object"' <<< '[[],[]]'
$ json -d '"array"' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< 'null'
$ json -d '"array"' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< 'false'
$ json -d '"array"' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< 'true'
$ json -d '"array"' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< '123'
$ json -d '"array"' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< '"foo"'
$ json -d '"array"' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< '{}'
$ json -d '"array"' <<< '{"foo":null}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: {"foo":null}
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< '{"foo":null}'
$ json -d '"array"' <<< '{"foo":false,"bar":123}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: {"foo":false,"bar":123}
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< '{"foo":false,"bar":123}'
$ json -d '"array"' <<< '{"foo":{},"bar":[]}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: {"foo":{},"bar":[]}
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< '{"foo":{},"bar":[]}'
$ json -d '"array"' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:1: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:1: ^
command failed: json -d '"array"' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '"array"' <<< '[]'
[]
$ json -d '"array"' <<< '[null]'
[null]
$ json -d '"array"' <<< '[false]'
[false]
$ json -d '"array"' <<< '[456]'
[456]
$ json -d '"array"' <<< '[""]'
[""]
$ json -d '"array"' <<< '[{}]'
[{}]
$ json -d '"array"' <<< '[{"foo":null}]'
[{"foo":null}]
$ json -d '"array"' <<< '[{"foo":null,"bar":false}]'
[{"foo":null,"bar":false}]
$ json -d '"array"' <<< '[{"foo":[],"bar":{}}]'
[{"foo":[],"bar":{}}]
$ json -d '"array"' <<< '[[]]'
[[]]
$ json -d '"array"' <<< '[[],[]]'
[[],[]]
$

--[ plain ]---------------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"foo"'; do for v2 in null false true 123 '"foo"' '{}' '[]'; do t='{"plain":'"$v1"'}'; c="json -d '$t' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"plain":null}' <<< 'null'
null
$ json -d '{"plain":null}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":null}' <<< 'false'
$ json -d '{"plain":null}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":null}' <<< 'true'
$ json -d '{"plain":null}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":null}' <<< '123'
$ json -d '{"plain":null}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":null}' <<< '"foo"'
$ json -d '{"plain":null}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":null}' <<< '{}'
$ json -d '{"plain":null}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":null}' <<< '[]'
$ json -d '{"plain":false}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":false}' <<< 'null'
$ json -d '{"plain":false}' <<< 'false'
false
$ json -d '{"plain":false}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":false}' <<< 'true'
$ json -d '{"plain":false}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":false}' <<< '123'
$ json -d '{"plain":false}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":false}' <<< '"foo"'
$ json -d '{"plain":false}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":false}' <<< '{}'
$ json -d '{"plain":false}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":false}' <<< '[]'
$ json -d '{"plain":true}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":true}' <<< 'null'
$ json -d '{"plain":true}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":true}' <<< 'false'
$ json -d '{"plain":true}' <<< 'true'
true
$ json -d '{"plain":true}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":true}' <<< '123'
$ json -d '{"plain":true}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":true}' <<< '"foo"'
$ json -d '{"plain":true}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":true}' <<< '{}'
$ json -d '{"plain":true}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":true}' <<< '[]'
$ json -d '{"plain":123}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":123}' <<< 'null'
$ json -d '{"plain":123}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":123}' <<< 'false'
$ json -d '{"plain":123}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":123}' <<< 'true'
$ json -d '{"plain":123}' <<< '123'
123
$ json -d '{"plain":123}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":123}' <<< '"foo"'
$ json -d '{"plain":123}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":123}' <<< '{}'
$ json -d '{"plain":123}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":123}' <<< '[]'
$ json -d '{"plain":"foo"}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":"foo"}' <<< 'null'
$ json -d '{"plain":"foo"}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":"foo"}' <<< 'false'
$ json -d '{"plain":"foo"}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":"foo"}' <<< 'true'
$ json -d '{"plain":"foo"}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":"foo"}' <<< '123'
$ json -d '{"plain":"foo"}' <<< '"foo"'
"foo"
$ json -d '{"plain":"foo"}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":"foo"}' <<< '{}'
$ json -d '{"plain":"foo"}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":"foo"}' <<< '[]'
$

--[ plain2 ]--------------------------------------------------------------------

$ set -o pipefail
$ json() { LD_LIBRARY_PATH=../lib ../src/json --terse --verbose --literal-value "$@" 2>&1|sed -ur '/fatal error:/s/:[0-9]+:/:???:/'; }
#
# # meta command:
# $ for v1 in -0 0 -1 1 1.0 -1.0 -1e1 1e1 -1E1 1E1 -1.0e1 1.0e1; do for v2 in -0 0 -1 1 1.0 -1.0 -1e1 1e1 -1E1 1E1 -1.0e1 1.0e1; do t='{"plain":'"$v1"'}'; c="json -d '$t' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"plain":-0}' <<< '-0'
-0
$ json -d '{"plain":-0}' <<< '0'
0
$ json -d '{"plain":-0}' <<< '-1'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":-0}'
json: error: <stdin>:1:1: -1
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":-0}' <<< '-1'
$ json -d '{"plain":-0}' <<< '1'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":-0}'
json: error: <stdin>:1:1: 1
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":-0}' <<< '1'
$ json -d '{"plain":-0}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-0}' <<< '1.0'
$ json -d '{"plain":-0}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-0}' <<< '-1.0'
$ json -d '{"plain":-0}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-0}' <<< '-1e1'
$ json -d '{"plain":-0}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-0}' <<< '1e1'
$ json -d '{"plain":-0}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-0}' <<< '-1E1'
$ json -d '{"plain":-0}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-0}' <<< '1E1'
$ json -d '{"plain":-0}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-0}' <<< '-1.0e1'
$ json -d '{"plain":-0}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-0}' <<< '1.0e1'
$ json -d '{"plain":0}' <<< '-0'
-0
$ json -d '{"plain":0}' <<< '0'
0
$ json -d '{"plain":0}' <<< '-1'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":0}'
json: error: <stdin>:1:1: -1
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":0}' <<< '-1'
$ json -d '{"plain":0}' <<< '1'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":0}'
json: error: <stdin>:1:1: 1
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":0}' <<< '1'
$ json -d '{"plain":0}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":0}' <<< '1.0'
$ json -d '{"plain":0}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":0}' <<< '-1.0'
$ json -d '{"plain":0}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":0}' <<< '-1e1'
$ json -d '{"plain":0}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":0}' <<< '1e1'
$ json -d '{"plain":0}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":0}' <<< '-1E1'
$ json -d '{"plain":0}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":0}' <<< '1E1'
$ json -d '{"plain":0}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":0}' <<< '-1.0e1'
$ json -d '{"plain":0}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":0}' <<< '1.0e1'
$ json -d '{"plain":-1}' <<< '-0'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":-1}'
json: error: <stdin>:1:1: -0
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":-1}' <<< '-0'
$ json -d '{"plain":-1}' <<< '0'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":-1}'
json: error: <stdin>:1:1: 0
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":-1}' <<< '0'
$ json -d '{"plain":-1}' <<< '-1'
-1
$ json -d '{"plain":-1}' <<< '1'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":-1}'
json: error: <stdin>:1:1: 1
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":-1}' <<< '1'
$ json -d '{"plain":-1}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1}' <<< '1.0'
$ json -d '{"plain":-1}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1}' <<< '-1.0'
$ json -d '{"plain":-1}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1}' <<< '-1e1'
$ json -d '{"plain":-1}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1}' <<< '1e1'
$ json -d '{"plain":-1}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1}' <<< '-1E1'
$ json -d '{"plain":-1}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1}' <<< '1E1'
$ json -d '{"plain":-1}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1}' <<< '-1.0e1'
$ json -d '{"plain":-1}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1}' <<< '1.0e1'
$ json -d '{"plain":1}' <<< '-0'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":1}'
json: error: <stdin>:1:1: -0
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":1}' <<< '-0'
$ json -d '{"plain":1}' <<< '0'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":1}'
json: error: <stdin>:1:1: 0
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":1}' <<< '0'
$ json -d '{"plain":1}' <<< '-1'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"plain":1}'
json: error: <stdin>:1:1: -1
json: error: <stdin>:1:1: ^
command failed: json -d '{"plain":1}' <<< '-1'
$ json -d '{"plain":1}' <<< '1'
1
$ json -d '{"plain":1}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1}' <<< '1.0'
$ json -d '{"plain":1}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1}' <<< '-1.0'
$ json -d '{"plain":1}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1}' <<< '-1e1'
$ json -d '{"plain":1}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1}' <<< '1e1'
$ json -d '{"plain":1}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1}' <<< '-1E1'
$ json -d '{"plain":1}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1}' <<< '1E1'
$ json -d '{"plain":1}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1}' <<< '-1.0e1'
$ json -d '{"plain":1}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1}' <<< '1.0e1'
$ json -d '{"plain":1.0}' <<< '-0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '-0'
$ json -d '{"plain":1.0}' <<< '0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '0'
$ json -d '{"plain":1.0}' <<< '-1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '-1'
$ json -d '{"plain":1.0}' <<< '1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '1'
$ json -d '{"plain":1.0}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '1.0'
$ json -d '{"plain":1.0}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '-1.0'
$ json -d '{"plain":1.0}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '-1e1'
$ json -d '{"plain":1.0}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '1e1'
$ json -d '{"plain":1.0}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '-1E1'
$ json -d '{"plain":1.0}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '1E1'
$ json -d '{"plain":1.0}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '-1.0e1'
$ json -d '{"plain":1.0}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0}' <<< '1.0e1'
$ json -d '{"plain":-1.0}' <<< '-0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '-0'
$ json -d '{"plain":-1.0}' <<< '0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '0'
$ json -d '{"plain":-1.0}' <<< '-1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '-1'
$ json -d '{"plain":-1.0}' <<< '1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '1'
$ json -d '{"plain":-1.0}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '1.0'
$ json -d '{"plain":-1.0}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '-1.0'
$ json -d '{"plain":-1.0}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '-1e1'
$ json -d '{"plain":-1.0}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '1e1'
$ json -d '{"plain":-1.0}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '-1E1'
$ json -d '{"plain":-1.0}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '1E1'
$ json -d '{"plain":-1.0}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '-1.0e1'
$ json -d '{"plain":-1.0}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0}' <<< '1.0e1'
$ json -d '{"plain":-1e1}' <<< '-0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '-0'
$ json -d '{"plain":-1e1}' <<< '0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '0'
$ json -d '{"plain":-1e1}' <<< '-1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '-1'
$ json -d '{"plain":-1e1}' <<< '1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '1'
$ json -d '{"plain":-1e1}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '1.0'
$ json -d '{"plain":-1e1}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '-1.0'
$ json -d '{"plain":-1e1}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '-1e1'
$ json -d '{"plain":-1e1}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '1e1'
$ json -d '{"plain":-1e1}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '-1E1'
$ json -d '{"plain":-1e1}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '1E1'
$ json -d '{"plain":-1e1}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '-1.0e1'
$ json -d '{"plain":-1e1}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1e1}' <<< '1.0e1'
$ json -d '{"plain":1e1}' <<< '-0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '-0'
$ json -d '{"plain":1e1}' <<< '0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '0'
$ json -d '{"plain":1e1}' <<< '-1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '-1'
$ json -d '{"plain":1e1}' <<< '1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '1'
$ json -d '{"plain":1e1}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '1.0'
$ json -d '{"plain":1e1}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '-1.0'
$ json -d '{"plain":1e1}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '-1e1'
$ json -d '{"plain":1e1}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '1e1'
$ json -d '{"plain":1e1}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '-1E1'
$ json -d '{"plain":1e1}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '1E1'
$ json -d '{"plain":1e1}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '-1.0e1'
$ json -d '{"plain":1e1}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1e1}' <<< '1.0e1'
$ json -d '{"plain":-1E1}' <<< '-0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '-0'
$ json -d '{"plain":-1E1}' <<< '0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '0'
$ json -d '{"plain":-1E1}' <<< '-1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '-1'
$ json -d '{"plain":-1E1}' <<< '1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '1'
$ json -d '{"plain":-1E1}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '1.0'
$ json -d '{"plain":-1E1}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '-1.0'
$ json -d '{"plain":-1E1}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '-1e1'
$ json -d '{"plain":-1E1}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '1e1'
$ json -d '{"plain":-1E1}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '-1E1'
$ json -d '{"plain":-1E1}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '1E1'
$ json -d '{"plain":-1E1}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '-1.0e1'
$ json -d '{"plain":-1E1}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1E1}' <<< '1.0e1'
$ json -d '{"plain":1E1}' <<< '-0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '-0'
$ json -d '{"plain":1E1}' <<< '0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '0'
$ json -d '{"plain":1E1}' <<< '-1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '-1'
$ json -d '{"plain":1E1}' <<< '1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '1'
$ json -d '{"plain":1E1}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '1.0'
$ json -d '{"plain":1E1}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '-1.0'
$ json -d '{"plain":1E1}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '-1e1'
$ json -d '{"plain":1E1}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '1e1'
$ json -d '{"plain":1E1}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '-1E1'
$ json -d '{"plain":1E1}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '1E1'
$ json -d '{"plain":1E1}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '-1.0e1'
$ json -d '{"plain":1E1}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1E1}' <<< '1.0e1'
$ json -d '{"plain":-1.0e1}' <<< '-0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '-0'
$ json -d '{"plain":-1.0e1}' <<< '0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '0'
$ json -d '{"plain":-1.0e1}' <<< '-1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '-1'
$ json -d '{"plain":-1.0e1}' <<< '1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '1'
$ json -d '{"plain":-1.0e1}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '1.0'
$ json -d '{"plain":-1.0e1}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '-1.0'
$ json -d '{"plain":-1.0e1}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '-1e1'
$ json -d '{"plain":-1.0e1}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '1e1'
$ json -d '{"plain":-1.0e1}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '-1E1'
$ json -d '{"plain":-1.0e1}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '1E1'
$ json -d '{"plain":-1.0e1}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '-1.0e1'
$ json -d '{"plain":-1.0e1}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":-1.0e1}' <<< '1.0e1'
$ json -d '{"plain":1.0e1}' <<< '-0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '-0'
$ json -d '{"plain":1.0e1}' <<< '0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '0'
$ json -d '{"plain":1.0e1}' <<< '-1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '-1'
$ json -d '{"plain":1.0e1}' <<< '1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '1'
$ json -d '{"plain":1.0e1}' <<< '1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '1.0'
$ json -d '{"plain":1.0e1}' <<< '-1.0'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '-1.0'
$ json -d '{"plain":1.0e1}' <<< '-1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '-1e1'
$ json -d '{"plain":1.0e1}' <<< '1e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '1e1'
$ json -d '{"plain":1.0e1}' <<< '-1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '-1E1'
$ json -d '{"plain":1.0e1}' <<< '1E1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '1E1'
$ json -d '{"plain":1.0e1}' <<< '-1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '-1.0e1'
$ json -d '{"plain":1.0e1}' <<< '1.0e1'
json.so: fatal error: json-type.c:???:trie_num_cmp: non-integer numerical comparison not yet supported
command failed: json -d '{"plain":1.0e1}' <<< '1.0e1'
$

--[ object ]--------------------------------------------------------------------

$ json -d '{"type":"object","args":[]}' <<< '{}'
{}
$ json -d '{"type":"object","args":[]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: {"foo":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[]}}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[]}}]}' <<< '{}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[]}}]}' <<< '{"foo":{"bar":"baz"}}'
json: error: <stdin>:1:9: type check error: too many arguments
json: error: <stdin>:1:9: {"foo":{"bar":"baz"}}
json: error: <stdin>:1:9:         ^
{"foo":{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[]}}]}' <<< '{"foo":{"bar":"baz"}}'
$

--[ object2 ]-------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in '{}'; do t='{"type":"object","args":[{"name":"foo","type":"'$t'"}]}'; c="json -d '$t' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{}'
$

--[ object3 ]-------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '{"foo":null}' '{"foo":false,"bar":123}' '{"foo":{},"bar":[]}' '{"foo":{"bar":{"baz":[]}}}' '[]' '[null]' '[false]' '[456]' '[""]' '[{}]' '[{"foo":null}]' '[{"foo":null,"bar":false}]' '[{"foo":[],"bar":{}}]' '[[]]' '[[],[]]'; do t2='{"type":"object","args":[{"name":"foo","type":"'$t'"}]}'; v2='{"foo":'"$v"'}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":"foo"}'
{"foo":"foo"}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{"foo":null}}'
{"foo":{"foo":null}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
{"foo":{"foo":false,"bar":123}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
{"foo":{"foo":{},"bar":[]}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
{"foo":{"foo":{"bar":{"baz":[]}}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[456]}'
{"foo":[456]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[""]}'
{"foo":[""]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[{"foo":null}]}'
{"foo":[{"foo":null}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
{"foo":[{"foo":null,"bar":false}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
{"foo":[{"foo":[],"bar":{}}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[[],[]]}'
{"foo":[[],[]]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":"foo"}'
{"foo":"foo"}
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{"foo":null}}'
{"foo":{"foo":null}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
{"foo":{"foo":false,"bar":123}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
{"foo":{"foo":{},"bar":[]}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
{"foo":{"foo":{"bar":{"baz":[]}}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[456]}'
{"foo":[456]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[""]}'
{"foo":[""]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[{"foo":null}]}'
{"foo":[{"foo":null}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
{"foo":[{"foo":null,"bar":false}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
{"foo":[{"foo":[],"bar":{}}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[[],[]]}'
{"foo":[[],[]]}
$

--[ object4 ]-------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":"'$t'"}]}'; v2='{"foo":'"$v"',"bar":null}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"bar":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"bar":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":true,"bar":null}
json: error: <stdin>:1:12:            ^
{"foo":true
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":123,"bar":null}
json: error: <stdin>:1:11:           ^
{"foo":123
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"foo","bar":null}
json: error: <stdin>:1:13:             ^
{"foo":"foo"
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"bar":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"bar":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"bar":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"bar":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":true,"bar":null}
json: error: <stdin>:1:12:            ^
{"foo":true
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":123,"bar":null}
json: error: <stdin>:1:11:           ^
{"foo":123
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"foo","bar":null}
json: error: <stdin>:1:13:             ^
{"foo":"foo"
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"bar":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"bar":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[],"bar":null}'
$

--[ object5 ]-------------------------------------------------------------------

$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"zoo":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"zoo":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"zoo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false,"zar":1}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "bar"
json: error: <stdin>:1:14: {"foo":false,"zar":1}
json: error: <stdin>:1:14:              ^
{"foo":false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false,"zar":1}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1,"zaz":""}'
json: error: <stdin>:1:22: type check error: invalid argument name: expected "baz"
json: error: <stdin>:1:22: {"foo":false,"bar":1,"zaz":""}
json: error: <stdin>:1:22:                      ^
{"foo":false,"bar":1,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1,"zaz":""}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":"","zaa":{}}'
json: error: <stdin>:1:31: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:31: {"foo":false,"bar":1,"baz":"","zaa":{}}
json: error: <stdin>:1:31:                               ^
{"foo":false,"bar":1,"baz":"",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":"","zaa":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"zaa":[]}'
json: error: <stdin>:1:40: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:40: false,"bar":1,"baz":"","faa":{},"zaa":[]}
json: error: <stdin>:1:40:                                 ^
{"foo":false,"bar":1,"baz":"","faa":{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"zaa":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"baa":[]}'
{"foo":false,"bar":1,"baz":"","faa":{},"baa":[]}
$

--[ object6 ]-------------------------------------------------------------------

$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{}'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:13: type check error: too few arguments
json: error: <stdin>:1:13: {"foo":false}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1}'
json: error: <stdin>:1:21: type check error: too few arguments
json: error: <stdin>:1:21: {"foo":false,"bar":1}
json: error: <stdin>:1:21:                     ^
{"foo":false,"bar":1
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":""}'
json: error: <stdin>:1:30: type check error: too few arguments
json: error: <stdin>:1:30: {"foo":false,"bar":1,"baz":""}
json: error: <stdin>:1:30:                              ^
{"foo":false,"bar":1,"baz":""
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":""}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{}}'
json: error: <stdin>:1:39: type check error: too few arguments
json: error: <stdin>:1:39: :false,"bar":1,"baz":"","faa":{}}
json: error: <stdin>:1:39:                                 ^
{"foo":false,"bar":1,"baz":"","faa":{}
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{}}'
$

--[ object7 ]-------------------------------------------------------------------

$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false,"zzz":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"zzz":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false,"zzz":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false,"bar":1,"zzz":null}'
json: error: <stdin>:1:21: type check error: too many arguments
json: error: <stdin>:1:21: {"foo":false,"bar":1,"zzz":null}
json: error: <stdin>:1:21:                     ^
{"foo":false,"bar":1
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false,"bar":1,"zzz":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1,"baz":"","zzz":null}'
json: error: <stdin>:1:30: type check error: too many arguments
json: error: <stdin>:1:30: {"foo":false,"bar":1,"baz":"","zzz":null}
json: error: <stdin>:1:30:                              ^
{"foo":false,"bar":1,"baz":""
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1,"baz":"","zzz":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":"","baa":{},"zzz":null}'
json: error: <stdin>:1:31: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:31: {"foo":false,"bar":1,"baz":"","baa":{},"zzz":null}
json: error: <stdin>:1:31:                               ^
{"foo":false,"bar":1,"baz":"",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":"","baa":{},"zzz":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"baa":[],"zzz":null}'
json: error: <stdin>:1:48: type check error: too many arguments
json: error: <stdin>:1:48: ar":1,"baz":"","faa":{},"baa":[],"zzz":null}
json: error: <stdin>:1:48:                                 ^
{"foo":false,"bar":1,"baz":"","faa":{},"baa":[]
command failed: json -d '{"type":"object","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"baa":[],"zzz":null}'
$

--[ object8 ]-------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"'$t'"}]}}]}'; v2='{"foo":{"bar":'"$v"'}}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":null}}'
{"foo":{"bar":null}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":false}}'
{"foo":{"bar":false}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":true}}'
{"foo":{"bar":true}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":123}}'
{"foo":{"bar":123}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
{"foo":{"bar":"foo"}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":{}}}'
{"foo":{"bar":{}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":[]}}'
{"foo":{"bar":[]}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":null}}'
{"foo":{"bar":null}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":false}}'
{"foo":{"bar":false}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":true}}'
{"foo":{"bar":true}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":123}}'
{"foo":{"bar":123}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
{"foo":{"bar":"foo"}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":{}}}'
{"foo":{"bar":{}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":[]}}'
{"foo":{"bar":[]}}
$

--[ object9 ]-------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"'$t'"}]}}]}}]}'; v2='{"foo":{"bar":{"baz":'"$v"'}}}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
{"foo":{"bar":{"baz":null}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
{"foo":{"bar":{"baz":false}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
{"foo":{"bar":{"baz":true}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
{"foo":{"bar":{"baz":123}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
{"foo":{"bar":{"baz":"foo"}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
{"foo":{"bar":{"baz":{}}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
{"foo":{"bar":{"baz":[]}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
{"foo":{"bar":{"baz":null}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
{"foo":{"bar":{"baz":false}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
{"foo":{"bar":{"baz":true}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
{"foo":{"bar":{"baz":123}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
{"foo":{"bar":{"baz":"foo"}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
{"foo":{"bar":{"baz":{}}}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"object","args":[{"name":"bar","type":{"type":"object","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
{"foo":{"bar":{"baz":[]}}}
$

--[ object10 ]------------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"bar"'; do for v2 in null false true 123 '"bar"' '{}' '[]'; do t='{"type":"object","args":[{"name":"foo","type":{"plain":'"$v1"'}}]}'; c="json -d '$t' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":[]}'
$

--[ dict ]----------------------------------------------------------------------

$ json -d '{"type":"dict","args":[]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: {"foo":"bar"}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[]}}]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[]}}]}' <<< '{"foo":{"bar":"baz"}}'
json: error: <stdin>:1:9: type check error: too many arguments
json: error: <stdin>:1:9: {"foo":{"bar":"baz"}}
json: error: <stdin>:1:9:         ^
{"foo":{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[]}}]}' <<< '{"foo":{"bar":"baz"}}'
$

--[ dict2 ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in '{}'; do t='{"type":"dict","args":[{"name":"foo","type":"'$t'"}]}'; c="json -d '$t' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{}'
{}
$

--[ dict3 ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '{"foo":null}' '{"foo":false,"bar":123}' '{"foo":{},"bar":[]}' '{"foo":{"bar":{"baz":[]}}}' '[]' '[null]' '[false]' '[456]' '[""]' '[{}]' '[{"foo":null}]' '[{"foo":null,"bar":false}]' '[{"foo":[],"bar":{}}]' '[[]]' '[[],[]]'; do t2='{"type":"dict","args":[{"name":"foo","type":"'$t'"}]}'; v2='{"foo":'"$v"'}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":"foo"}'
{"foo":"foo"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{"foo":null}}'
{"foo":{"foo":null}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
{"foo":{"foo":false,"bar":123}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
{"foo":{"foo":{},"bar":[]}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
{"foo":{"foo":{"bar":{"baz":[]}}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[456]}'
{"foo":[456]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[""]}'
{"foo":[""]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[{"foo":null}]}'
{"foo":[{"foo":null}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
{"foo":[{"foo":null,"bar":false}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
{"foo":[{"foo":[],"bar":{}}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[[],[]]}'
{"foo":[[],[]]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":"foo"}'
{"foo":"foo"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{"foo":null}}'
{"foo":{"foo":null}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
{"foo":{"foo":false,"bar":123}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
{"foo":{"foo":{},"bar":[]}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
{"foo":{"foo":{"bar":{"baz":[]}}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[null]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[false]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[456]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[456]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[456]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[""]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[""]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[""]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[{}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":null}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[{"foo":null}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":null}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[{"foo":null,"bar":false}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[{"foo":[],"bar":{}}]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[[],[]]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[[],[]]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[[],[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":"foo"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":"foo"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":null}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{"foo":null}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{"foo":false,"bar":123}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":false,"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{"foo":{},"bar":[]}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":{},"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{"foo":{"bar":{"baz":[]}}}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{"foo":{"bar":{"baz":[]}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[456]}'
{"foo":[456]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[""]}'
{"foo":[""]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[{"foo":null}]}'
{"foo":[{"foo":null}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[{"foo":null,"bar":false}]}'
{"foo":[{"foo":null,"bar":false}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[{"foo":[],"bar":{}}]}'
{"foo":[{"foo":[],"bar":{}}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[[],[]]}'
{"foo":[[],[]]}
$

--[ dict4 ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":"'$t'"}]}'; v2='{"foo":'"$v"',"bar":null}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"bar":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"bar":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":true,"bar":null}
json: error: <stdin>:1:12:            ^
{"foo":true
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":123,"bar":null}
json: error: <stdin>:1:11:           ^
{"foo":123
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"foo","bar":null}
json: error: <stdin>:1:13:             ^
{"foo":"foo"
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"bar":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"bar":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":null,"bar":null}
json: error: <stdin>:1:12:            ^
{"foo":null
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"bar":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: {"foo":true,"bar":null}
json: error: <stdin>:1:12:            ^
{"foo":true
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: {"foo":123,"bar":null}
json: error: <stdin>:1:11:           ^
{"foo":123
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":"foo","bar":null}
json: error: <stdin>:1:13:             ^
{"foo":"foo"
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":{},"bar":null}
json: error: <stdin>:1:10:          ^
{"foo":{}
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: {"foo":[],"bar":null}
json: error: <stdin>:1:10:          ^
{"foo":[]
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"foo":[],"bar":null}'
$

--[ dict5 ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":"'$t'"}]}'; v2='{"bar":'"$v"',"foo":null}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":null,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":false,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":false,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":false,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":true,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":true,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":true,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":123,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":123,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":123,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":"foo","foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":"foo","foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":"foo","foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":{},"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":{},"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":{},"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":[],"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":[],"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"type"}]}' <<< '{"bar":[],"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":null,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":false,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":false,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":false,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":true,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":true,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":true,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":123,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":123,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":123,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":"foo","foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":"foo","foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":"foo","foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":{},"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":{},"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":{},"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":[],"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":[],"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"}]}' <<< '{"bar":[],"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":null,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":false,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":false,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":false,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":true,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":true,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":true,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":123,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":123,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":123,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":"foo","foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":"foo","foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":"foo","foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":{},"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":{},"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":{},"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":[],"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":[],"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"bar":[],"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":null,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":false,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":false,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":false,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":true,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":true,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":true,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":123,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":123,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":123,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":"foo","foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":"foo","foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":"foo","foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":{},"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":{},"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":{},"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":[],"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":[],"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"}]}' <<< '{"bar":[],"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":null,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":false,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":false,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":false,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":true,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":true,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":true,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":123,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":123,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":123,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":"foo","foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":"foo","foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":"foo","foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":{},"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":{},"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":{},"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":[],"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":[],"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"}]}' <<< '{"bar":[],"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":null,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":false,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":false,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":false,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":true,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":true,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":true,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":123,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":123,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":123,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":"foo","foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":"foo","foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":"foo","foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":{},"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":{},"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":{},"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":[],"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":[],"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"}]}' <<< '{"bar":[],"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":null,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":false,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":false,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":false,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":true,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":true,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":true,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":123,"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":123,"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":123,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":"foo","foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":"foo","foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":"foo","foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":{},"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":{},"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":{},"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":[],"foo":null}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"bar":[],"foo":null}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"}]}' <<< '{"bar":[],"foo":null}'
$

--[ dict6 ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":"'$t'"},{"name":"bar","type":"null"}]}'; v2='{"foo":'"$v"',"bar":null}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
{"foo":null,"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
{"foo":false,"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
{"foo":true,"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
{"foo":123,"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
{"foo":"foo","bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
{"foo":{},"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
{"foo":[],"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
{"foo":null,"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
{"foo":false,"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
{"foo":true,"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
{"foo":123,"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
{"foo":"foo","bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
{"foo":{},"bar":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: {"foo":[],"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":null,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":null,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":false,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":false,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":true,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":true,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":123,"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":123,"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":"foo","bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":"foo","bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: {"foo":{},"bar":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":{},"bar":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"foo":[],"bar":null}'
{"foo":[],"bar":null}
$

--[ dict7 ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":"'$t'"},{"name":"bar","type":"null"}]}'; v2='{"bar":null,"foo":'"$v"'}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
{"bar":null,"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
{"bar":null,"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
{"bar":null,"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
{"bar":null,"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
{"bar":null,"foo":"foo"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
{"bar":null,"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"type"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
{"bar":null,"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
{"bar":null,"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"bar":null,"foo":false}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"bar":null,"foo":true}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"bar":null,"foo":123}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"bar":null,"foo":"foo"}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"bar":null,"foo":{}}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:19: {"bar":null,"foo":[]}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"null"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"bar":null,"foo":null}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
{"bar":null,"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
{"bar":null,"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"bar":null,"foo":123}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"bar":null,"foo":"foo"}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"bar":null,"foo":{}}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:19: {"bar":null,"foo":[]}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"bar":null,"foo":null}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"bar":null,"foo":false}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"bar":null,"foo":true}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
{"bar":null,"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"bar":null,"foo":"foo"}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"bar":null,"foo":{}}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:19: {"bar":null,"foo":[]}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"bar":null,"foo":null}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"bar":null,"foo":false}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"bar":null,"foo":true}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"bar":null,"foo":123}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
{"bar":null,"foo":"foo"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"bar":null,"foo":{}}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:19: {"bar":null,"foo":[]}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"string"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"bar":null,"foo":null}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"bar":null,"foo":false}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"bar":null,"foo":true}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"bar":null,"foo":123}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"bar":null,"foo":"foo"}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
{"bar":null,"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:19: {"bar":null,"foo":[]}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"object"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"bar":null,"foo":null}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"bar":null,"foo":false}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"bar":null,"foo":true}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"bar":null,"foo":123}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"bar":null,"foo":"foo"}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":"foo"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
json: error: <stdin>:1:19: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:19: {"bar":null,"foo":{}}
json: error: <stdin>:1:19:                   ^
{"bar":null,"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"array"},{"name":"bar","type":"null"}]}' <<< '{"bar":null,"foo":[]}'
{"bar":null,"foo":[]}
$

--[ dict8 ]---------------------------------------------------------------------

$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"zoo":false}'
json: error: <stdin>:1:2: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:2: {"zoo":false}
json: error: <stdin>:1:2:  ^
{
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"zoo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false,"zar":1}'
json: error: <stdin>:1:14: type check error: invalid argument name: expected "bar"
json: error: <stdin>:1:14: {"foo":false,"zar":1}
json: error: <stdin>:1:14:              ^
{"foo":false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false,"zar":1}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"bar":1,"zar":1}'
json: error: <stdin>:1:10: type check error: invalid argument name: expected "foo"
json: error: <stdin>:1:10: {"bar":1,"zar":1}
json: error: <stdin>:1:10:          ^
{"bar":1,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"bar":1,"zar":1}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1,"zaz":""}'
json: error: <stdin>:1:22: type check error: invalid argument name: expected "baz"
json: error: <stdin>:1:22: {"foo":false,"bar":1,"zaz":""}
json: error: <stdin>:1:22:                      ^
{"foo":false,"bar":1,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1,"zaz":""}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"bar":1,"foo":false,"zaz":""}'
json: error: <stdin>:1:22: type check error: invalid argument name: expected "baz"
json: error: <stdin>:1:22: {"bar":1,"foo":false,"zaz":""}
json: error: <stdin>:1:22:                      ^
{"bar":1,"foo":false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"bar":1,"foo":false,"zaz":""}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":"","zaa":{}}'
json: error: <stdin>:1:31: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:31: {"foo":false,"bar":1,"baz":"","zaa":{}}
json: error: <stdin>:1:31:                               ^
{"foo":false,"bar":1,"baz":"",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":"","zaa":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"baz":"","foo":false,"bar":1,"zaa":{}}'
json: error: <stdin>:1:31: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:31: {"baz":"","foo":false,"bar":1,"zaa":{}}
json: error: <stdin>:1:31:                               ^
{"baz":"","foo":false,"bar":1,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"baz":"","foo":false,"bar":1,"zaa":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"bar":1,"baz":"","foo":false,"zaa":{}}'
json: error: <stdin>:1:31: type check error: invalid argument name: expected "faa"
json: error: <stdin>:1:31: {"bar":1,"baz":"","foo":false,"zaa":{}}
json: error: <stdin>:1:31:                               ^
{"bar":1,"baz":"","foo":false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"bar":1,"baz":"","foo":false,"zaa":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"zaa":[]}'
json: error: <stdin>:1:40: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:40: false,"bar":1,"baz":"","faa":{},"zaa":[]}
json: error: <stdin>:1:40:                                 ^
{"foo":false,"bar":1,"baz":"","faa":{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"zaa":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"faa":{},"foo":false,"bar":1,"baz":"","zaa":[]}'
json: error: <stdin>:1:40: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:40: {},"foo":false,"bar":1,"baz":"","zaa":[]}
json: error: <stdin>:1:40:                                 ^
{"faa":{},"foo":false,"bar":1,"baz":"",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"faa":{},"foo":false,"bar":1,"baz":"","zaa":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"baz":"","faa":{},"foo":false,"bar":1,"zaa":[]}'
json: error: <stdin>:1:40: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:40: "","faa":{},"foo":false,"bar":1,"zaa":[]}
json: error: <stdin>:1:40:                                 ^
{"baz":"","faa":{},"foo":false,"bar":1,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"baz":"","faa":{},"foo":false,"bar":1,"zaa":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"bar":1,"baz":"","faa":{},"foo":false,"zaa":[]}'
json: error: <stdin>:1:40: type check error: invalid argument name: expected "baa"
json: error: <stdin>:1:40: 1,"baz":"","faa":{},"foo":false,"zaa":[]}
json: error: <stdin>:1:40:                                 ^
{"bar":1,"baz":"","faa":{},"foo":false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"bar":1,"baz":"","faa":{},"foo":false,"zaa":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"baa":[]}'
{"foo":false,"bar":1,"baz":"","faa":{},"baa":[]}
$

--[ dict9 ]---------------------------------------------------------------------

$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{}'
{}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"bar":1}'
{"bar":1}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1}'
{"foo":false,"bar":1}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"bar":1,"foo":false}'
{"bar":1,"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":""}'
{"foo":false,"bar":1,"baz":""}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"baz":"","foo":false,"bar":1}'
{"baz":"","foo":false,"bar":1}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"bar":1,"baz":"","foo":false}'
{"bar":1,"baz":"","foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{}}'
{"foo":false,"bar":1,"baz":"","faa":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"faa":{},"foo":false,"bar":1,"baz":""}'
{"faa":{},"foo":false,"bar":1,"baz":""}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"baz":"","faa":{},"foo":false,"bar":1}'
{"baz":"","faa":{},"foo":false,"bar":1}
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"bar":1,"baz":"","faa":{},"foo":false}'
{"bar":1,"baz":"","faa":{},"foo":false}
$

--[ dict10 ]--------------------------------------------------------------------

$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false,"zzz":null}'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: {"foo":false,"zzz":null}
json: error: <stdin>:1:13:             ^
{"foo":false
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"}]}' <<< '{"foo":false,"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false,"bar":1,"zzz":null}'
json: error: <stdin>:1:21: type check error: too many arguments
json: error: <stdin>:1:21: {"foo":false,"bar":1,"zzz":null}
json: error: <stdin>:1:21:                     ^
{"foo":false,"bar":1
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"foo":false,"bar":1,"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"bar":1,"foo":false,"zzz":null}'
json: error: <stdin>:1:21: type check error: too many arguments
json: error: <stdin>:1:21: {"bar":1,"foo":false,"zzz":null}
json: error: <stdin>:1:21:                     ^
{"bar":1,"foo":false
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"}]}' <<< '{"bar":1,"foo":false,"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1,"baz":"","zzz":null}'
json: error: <stdin>:1:30: type check error: too many arguments
json: error: <stdin>:1:30: {"foo":false,"bar":1,"baz":"","zzz":null}
json: error: <stdin>:1:30:                              ^
{"foo":false,"bar":1,"baz":""
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"foo":false,"bar":1,"baz":"","zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"baz":"","foo":false,"bar":1,"zzz":null}'
json: error: <stdin>:1:30: type check error: too many arguments
json: error: <stdin>:1:30: {"baz":"","foo":false,"bar":1,"zzz":null}
json: error: <stdin>:1:30:                              ^
{"baz":"","foo":false,"bar":1
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"baz":"","foo":false,"bar":1,"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"bar":1,"baz":"","foo":false,"zzz":null}'
json: error: <stdin>:1:30: type check error: too many arguments
json: error: <stdin>:1:30: {"bar":1,"baz":"","foo":false,"zzz":null}
json: error: <stdin>:1:30:                              ^
{"bar":1,"baz":"","foo":false
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"}]}' <<< '{"bar":1,"baz":"","foo":false,"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"zzz":null}'
json: error: <stdin>:1:39: type check error: too many arguments
json: error: <stdin>:1:39: :false,"bar":1,"baz":"","faa":{},"zzz":null}
json: error: <stdin>:1:39:                                 ^
{"foo":false,"bar":1,"baz":"","faa":{}
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"faa":{},"foo":false,"bar":1,"baz":"","zzz":null}'
json: error: <stdin>:1:39: type check error: too many arguments
json: error: <stdin>:1:39: :{},"foo":false,"bar":1,"baz":"","zzz":null}
json: error: <stdin>:1:39:                                 ^
{"faa":{},"foo":false,"bar":1,"baz":""
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"faa":{},"foo":false,"bar":1,"baz":"","zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"baz":"","faa":{},"foo":false,"bar":1,"zzz":null}'
json: error: <stdin>:1:39: type check error: too many arguments
json: error: <stdin>:1:39: :"","faa":{},"foo":false,"bar":1,"zzz":null}
json: error: <stdin>:1:39:                                 ^
{"baz":"","faa":{},"foo":false,"bar":1
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"baz":"","faa":{},"foo":false,"bar":1,"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"bar":1,"baz":"","faa":{},"foo":false,"zzz":null}'
json: error: <stdin>:1:39: type check error: too many arguments
json: error: <stdin>:1:39: :1,"baz":"","faa":{},"foo":false,"zzz":null}
json: error: <stdin>:1:39:                                 ^
{"bar":1,"baz":"","faa":{},"foo":false
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"}]}' <<< '{"bar":1,"baz":"","faa":{},"foo":false,"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"baa":[],"zzz":null}'
json: error: <stdin>:1:48: type check error: too many arguments
json: error: <stdin>:1:48: ar":1,"baz":"","faa":{},"baa":[],"zzz":null}
json: error: <stdin>:1:48:                                 ^
{"foo":false,"bar":1,"baz":"","faa":{},"baa":[]
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"foo":false,"bar":1,"baz":"","faa":{},"baa":[],"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"baa":[],"foo":false,"bar":1,"baz":"","faa":{},"zzz":null}'
json: error: <stdin>:1:48: type check error: too many arguments
json: error: <stdin>:1:48: :false,"bar":1,"baz":"","faa":{},"zzz":null}
json: error: <stdin>:1:48:                                 ^
{"baa":[],"foo":false,"bar":1,"baz":"","faa":{}
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"baa":[],"foo":false,"bar":1,"baz":"","faa":{},"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"faa":{},"baa":[],"foo":false,"bar":1,"baz":"","zzz":null}'
json: error: <stdin>:1:48: type check error: too many arguments
json: error: <stdin>:1:48: :[],"foo":false,"bar":1,"baz":"","zzz":null}
json: error: <stdin>:1:48:                                 ^
{"faa":{},"baa":[],"foo":false,"bar":1,"baz":""
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"faa":{},"baa":[],"foo":false,"bar":1,"baz":"","zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"baz":"","faa":{},"baa":[],"foo":false,"bar":1,"zzz":null}'
json: error: <stdin>:1:48: type check error: too many arguments
json: error: <stdin>:1:48: :{},"baa":[],"foo":false,"bar":1,"zzz":null}
json: error: <stdin>:1:48:                                 ^
{"baz":"","faa":{},"baa":[],"foo":false,"bar":1
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"baz":"","faa":{},"baa":[],"foo":false,"bar":1,"zzz":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"bar":1,"baz":"","faa":{},"baa":[],"foo":false,"zzz":null}'
json: error: <stdin>:1:48: type check error: too many arguments
json: error: <stdin>:1:48: "","faa":{},"baa":[],"foo":false,"zzz":null}
json: error: <stdin>:1:48:                                 ^
{"bar":1,"baz":"","faa":{},"baa":[],"foo":false
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":"boolean"},{"name":"bar","type":"number"},{"name":"baz","type":"string"},{"name":"faa","type":"object"},{"name":"baa","type":"array"}]}' <<< '{"bar":1,"baz":"","faa":{},"baa":[],"foo":false,"zzz":null}'
$

--[ dict11 ]--------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"'$t'"}]}}]}'; v2='{"foo":{"bar":'"$v"'}}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":null}}'
{"foo":{"bar":null}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":false}}'
{"foo":{"bar":false}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":true}}'
{"foo":{"bar":true}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":123}}'
{"foo":{"bar":123}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
{"foo":{"bar":"foo"}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":{}}}'
{"foo":{"bar":{}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"type"}]}}]}' <<< '{"foo":{"bar":[]}}'
{"foo":{"bar":[]}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":null}}'
{"foo":{"bar":null}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"null"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":false}}'
{"foo":{"bar":false}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":true}}'
{"foo":{"bar":true}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"boolean"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":123}}'
{"foo":{"bar":123}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"number"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
{"foo":{"bar":"foo"}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"string"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":{}}}'
{"foo":{"bar":{}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":[]}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: {"foo":{"bar":[]}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"object"}]}}]}' <<< '{"foo":{"bar":[]}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":null}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":null}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":null}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":false}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":false}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":false}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":true}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":true}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":true}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":123}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":123}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":123}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":"foo"}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":"foo"}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":{}}}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:15: {"foo":{"bar":{}}}
json: error: <stdin>:1:15:               ^
{"foo":{"bar":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":{}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":"array"}]}}]}' <<< '{"foo":{"bar":[]}}'
{"foo":{"bar":[]}}
$

--[ dict12 ]--------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"'$t'"}]}}]}}]}'; v2='{"foo":{"bar":{"baz":'"$v"'}}}'; c="json -d '$t2' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
{"foo":{"bar":{"baz":null}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
{"foo":{"bar":{"baz":false}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
{"foo":{"bar":{"baz":true}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
{"foo":{"bar":{"baz":123}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
{"foo":{"bar":{"baz":"foo"}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
{"foo":{"bar":{"baz":{}}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"type"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
{"foo":{"bar":{"baz":[]}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
{"foo":{"bar":{"baz":null}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"null"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
{"foo":{"bar":{"baz":false}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
{"foo":{"bar":{"baz":true}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"boolean"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
{"foo":{"bar":{"baz":123}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"number"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
{"foo":{"bar":{"baz":"foo"}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"string"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
{"foo":{"bar":{"baz":{}}}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":[]}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"object"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":null}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":null}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":false}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":false}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":true}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":true}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":123}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":123}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":"foo"}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":"foo"}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
json: error: <stdin>:1:22: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:22: {"foo":{"bar":{"baz":{}}}}
json: error: <stdin>:1:22:                      ^
{"foo":{"bar":{"baz":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":{}}}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"dict","args":[{"name":"bar","type":{"type":"dict","args":[{"name":"baz","type":"array"}]}}]}}]}' <<< '{"foo":{"bar":{"baz":[]}}}'
{"foo":{"bar":{"baz":[]}}}
$

--[ dict13 ]--------------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"bar"'; do for v2 in null false true 123 '"bar"' '{}' '[]'; do t='{"type":"dict","args":[{"name":"foo","type":{"plain":'"$v1"'}}]}'; c="json -d '$t' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":[]}'
$

--[ dict14 ]--------------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"bar"'; do for v2 in null false true 123 '"bar"' '{}' '[]'; do t='{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":'"$v1"'}}]}'; c="json -d '$t' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":null}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":false}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":true}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":123}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"bar"}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"bar","type":"type"},{"name":"foo","type":{"plain":"bar"}}]}' <<< '{"foo":[]}'
$

--[ open-array ]----------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":"type"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"null"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"boolean"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"number"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"string"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"object"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"array"}' <<< '[]'
[]
$

--[ open-array2 ]---------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"type"}' <<< 'null'
$ json -d '{"type":"array","args":"type"}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"type"}' <<< 'false'
$ json -d '{"type":"array","args":"type"}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"type"}' <<< 'true'
$ json -d '{"type":"array","args":"type"}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"type"}' <<< '123'
$ json -d '{"type":"array","args":"type"}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"type"}' <<< '"foo"'
$ json -d '{"type":"array","args":"type"}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"type"}' <<< '{}'
$ json -d '{"type":"array","args":"type"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"null"}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"null"}' <<< 'null'
$ json -d '{"type":"array","args":"null"}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"null"}' <<< 'false'
$ json -d '{"type":"array","args":"null"}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"null"}' <<< 'true'
$ json -d '{"type":"array","args":"null"}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"null"}' <<< '123'
$ json -d '{"type":"array","args":"null"}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"null"}' <<< '"foo"'
$ json -d '{"type":"array","args":"null"}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"null"}' <<< '{}'
$ json -d '{"type":"array","args":"null"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"boolean"}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"boolean"}' <<< 'null'
$ json -d '{"type":"array","args":"boolean"}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"boolean"}' <<< 'false'
$ json -d '{"type":"array","args":"boolean"}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"boolean"}' <<< 'true'
$ json -d '{"type":"array","args":"boolean"}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"boolean"}' <<< '123'
$ json -d '{"type":"array","args":"boolean"}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"boolean"}' <<< '"foo"'
$ json -d '{"type":"array","args":"boolean"}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"boolean"}' <<< '{}'
$ json -d '{"type":"array","args":"boolean"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"number"}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"number"}' <<< 'null'
$ json -d '{"type":"array","args":"number"}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"number"}' <<< 'false'
$ json -d '{"type":"array","args":"number"}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"number"}' <<< 'true'
$ json -d '{"type":"array","args":"number"}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"number"}' <<< '123'
$ json -d '{"type":"array","args":"number"}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"number"}' <<< '"foo"'
$ json -d '{"type":"array","args":"number"}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"number"}' <<< '{}'
$ json -d '{"type":"array","args":"number"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"string"}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"string"}' <<< 'null'
$ json -d '{"type":"array","args":"string"}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"string"}' <<< 'false'
$ json -d '{"type":"array","args":"string"}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"string"}' <<< 'true'
$ json -d '{"type":"array","args":"string"}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"string"}' <<< '123'
$ json -d '{"type":"array","args":"string"}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"string"}' <<< '"foo"'
$ json -d '{"type":"array","args":"string"}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"string"}' <<< '{}'
$ json -d '{"type":"array","args":"string"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"object"}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"object"}' <<< 'null'
$ json -d '{"type":"array","args":"object"}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"object"}' <<< 'false'
$ json -d '{"type":"array","args":"object"}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"object"}' <<< 'true'
$ json -d '{"type":"array","args":"object"}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"object"}' <<< '123'
$ json -d '{"type":"array","args":"object"}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"object"}' <<< '"foo"'
$ json -d '{"type":"array","args":"object"}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"object"}' <<< '{}'
$ json -d '{"type":"array","args":"object"}' <<< '[]'
[]
$ json -d '{"type":"array","args":"array"}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"array"}' <<< 'null'
$ json -d '{"type":"array","args":"array"}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"array"}' <<< 'false'
$ json -d '{"type":"array","args":"array"}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"array"}' <<< 'true'
$ json -d '{"type":"array","args":"array"}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"array"}' <<< '123'
$ json -d '{"type":"array","args":"array"}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"array"}' <<< '"foo"'
$ json -d '{"type":"array","args":"array"}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":"array"}' <<< '{}'
$ json -d '{"type":"array","args":"array"}' <<< '[]'
[]
$

--[ open-array3 ]---------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":"type"}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":"type"}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":"type"}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":"type"}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"array","args":"type"}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":"type"}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":"null"}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":"null"}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[false]'
$ json -d '{"type":"array","args":"null"}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[true]'
$ json -d '{"type":"array","args":"null"}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[123]'
$ json -d '{"type":"array","args":"null"}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '["foo"]'
$ json -d '{"type":"array","args":"null"}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[{}]'
$ json -d '{"type":"array","args":"null"}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[[]]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[null]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":"boolean"}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":"boolean"}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[123]'
$ json -d '{"type":"array","args":"boolean"}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '["foo"]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[{}]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[[]]'
$ json -d '{"type":"array","args":"number"}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[null]'
$ json -d '{"type":"array","args":"number"}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[false]'
$ json -d '{"type":"array","args":"number"}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[true]'
$ json -d '{"type":"array","args":"number"}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":"number"}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '["foo"]'
$ json -d '{"type":"array","args":"number"}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[{}]'
$ json -d '{"type":"array","args":"number"}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[[]]'
$ json -d '{"type":"array","args":"string"}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[null]'
$ json -d '{"type":"array","args":"string"}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[false]'
$ json -d '{"type":"array","args":"string"}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[true]'
$ json -d '{"type":"array","args":"string"}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[123]'
$ json -d '{"type":"array","args":"string"}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"array","args":"string"}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[{}]'
$ json -d '{"type":"array","args":"string"}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[[]]'
$ json -d '{"type":"array","args":"object"}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[null]'
$ json -d '{"type":"array","args":"object"}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[false]'
$ json -d '{"type":"array","args":"object"}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[true]'
$ json -d '{"type":"array","args":"object"}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[123]'
$ json -d '{"type":"array","args":"object"}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '["foo"]'
$ json -d '{"type":"array","args":"object"}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":"object"}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[[]]'
$ json -d '{"type":"array","args":"array"}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[null]'
$ json -d '{"type":"array","args":"array"}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[false]'
$ json -d '{"type":"array","args":"array"}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[true]'
$ json -d '{"type":"array","args":"array"}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[123]'
$ json -d '{"type":"array","args":"array"}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '["foo"]'
$ json -d '{"type":"array","args":"array"}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[{}]'
$ json -d '{"type":"array","args":"array"}' <<< '[[]]'
[[]]
$

--[ open-array4 ]---------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[null,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":"type"}' <<< '[null,false]'
[null,false]
$ json -d '{"type":"array","args":"type"}' <<< '[null,true]'
[null,true]
$ json -d '{"type":"array","args":"type"}' <<< '[null,123]'
[null,123]
$ json -d '{"type":"array","args":"type"}' <<< '[null,"foo"]'
[null,"foo"]
$ json -d '{"type":"array","args":"type"}' <<< '[null,{}]'
[null,{}]
$ json -d '{"type":"array","args":"type"}' <<< '[null,[]]'
[null,[]]
$ json -d '{"type":"array","args":"null"}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":"null"}' <<< '[null,false]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,false]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":"null"}' <<< '[null,false]'
$ json -d '{"type":"array","args":"null"}' <<< '[null,true]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,true]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":"null"}' <<< '[null,true]'
$ json -d '{"type":"array","args":"null"}' <<< '[null,123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,123]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":"null"}' <<< '[null,123]'
$ json -d '{"type":"array","args":"null"}' <<< '[null,"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,"foo"]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":"null"}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":"null"}' <<< '[null,{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,{}]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":"null"}' <<< '[null,{}]'
$ json -d '{"type":"array","args":"null"}' <<< '[null,[]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,[]]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":"null"}' <<< '[null,[]]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[null,null]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[null,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[null,false]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[null,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[null,true]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[null,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[null,123]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[null,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[null,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[null,{}]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[null,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[null,[]]'
$ json -d '{"type":"array","args":"number"}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[null,null]'
$ json -d '{"type":"array","args":"number"}' <<< '[null,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[null,false]'
$ json -d '{"type":"array","args":"number"}' <<< '[null,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[null,true]'
$ json -d '{"type":"array","args":"number"}' <<< '[null,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[null,123]'
$ json -d '{"type":"array","args":"number"}' <<< '[null,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":"number"}' <<< '[null,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[null,{}]'
$ json -d '{"type":"array","args":"number"}' <<< '[null,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[null,[]]'
$ json -d '{"type":"array","args":"string"}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[null,null]'
$ json -d '{"type":"array","args":"string"}' <<< '[null,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[null,false]'
$ json -d '{"type":"array","args":"string"}' <<< '[null,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[null,true]'
$ json -d '{"type":"array","args":"string"}' <<< '[null,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[null,123]'
$ json -d '{"type":"array","args":"string"}' <<< '[null,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":"string"}' <<< '[null,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[null,{}]'
$ json -d '{"type":"array","args":"string"}' <<< '[null,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[null,[]]'
$ json -d '{"type":"array","args":"object"}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[null,null]'
$ json -d '{"type":"array","args":"object"}' <<< '[null,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[null,false]'
$ json -d '{"type":"array","args":"object"}' <<< '[null,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[null,true]'
$ json -d '{"type":"array","args":"object"}' <<< '[null,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[null,123]'
$ json -d '{"type":"array","args":"object"}' <<< '[null,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":"object"}' <<< '[null,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[null,{}]'
$ json -d '{"type":"array","args":"object"}' <<< '[null,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[null,[]]'
$ json -d '{"type":"array","args":"array"}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[null,null]'
$ json -d '{"type":"array","args":"array"}' <<< '[null,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[null,false]'
$ json -d '{"type":"array","args":"array"}' <<< '[null,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[null,true]'
$ json -d '{"type":"array","args":"array"}' <<< '[null,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[null,123]'
$ json -d '{"type":"array","args":"array"}' <<< '[null,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":"array"}' <<< '[null,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[null,{}]'
$ json -d '{"type":"array","args":"array"}' <<< '[null,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[null,[]]'
$

--[ open-array5 ]---------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[false,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< '[false,null]'
[false,null]
$ json -d '{"type":"array","args":"type"}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":"type"}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"array","args":"type"}' <<< '[false,123]'
[false,123]
$ json -d '{"type":"array","args":"type"}' <<< '[false,"foo"]'
[false,"foo"]
$ json -d '{"type":"array","args":"type"}' <<< '[false,{}]'
[false,{}]
$ json -d '{"type":"array","args":"type"}' <<< '[false,[]]'
[false,[]]
$ json -d '{"type":"array","args":"null"}' <<< '[false,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[false,null]'
$ json -d '{"type":"array","args":"null"}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[false,false]'
$ json -d '{"type":"array","args":"null"}' <<< '[false,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[false,true]'
$ json -d '{"type":"array","args":"null"}' <<< '[false,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[false,123]'
$ json -d '{"type":"array","args":"null"}' <<< '[false,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":"null"}' <<< '[false,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[false,{}]'
$ json -d '{"type":"array","args":"null"}' <<< '[false,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[false,[]]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[false,null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,null]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[false,null]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":"boolean"}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"array","args":"boolean"}' <<< '[false,123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,123]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[false,123]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[false,"foo"]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,"foo"]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[false,{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,{}]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[false,{}]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[false,[]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,[]]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[false,[]]'
$ json -d '{"type":"array","args":"number"}' <<< '[false,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[false,null]'
$ json -d '{"type":"array","args":"number"}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[false,false]'
$ json -d '{"type":"array","args":"number"}' <<< '[false,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[false,true]'
$ json -d '{"type":"array","args":"number"}' <<< '[false,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[false,123]'
$ json -d '{"type":"array","args":"number"}' <<< '[false,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":"number"}' <<< '[false,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[false,{}]'
$ json -d '{"type":"array","args":"number"}' <<< '[false,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[false,[]]'
$ json -d '{"type":"array","args":"string"}' <<< '[false,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[false,null]'
$ json -d '{"type":"array","args":"string"}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[false,false]'
$ json -d '{"type":"array","args":"string"}' <<< '[false,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[false,true]'
$ json -d '{"type":"array","args":"string"}' <<< '[false,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[false,123]'
$ json -d '{"type":"array","args":"string"}' <<< '[false,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":"string"}' <<< '[false,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[false,{}]'
$ json -d '{"type":"array","args":"string"}' <<< '[false,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[false,[]]'
$ json -d '{"type":"array","args":"object"}' <<< '[false,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[false,null]'
$ json -d '{"type":"array","args":"object"}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[false,false]'
$ json -d '{"type":"array","args":"object"}' <<< '[false,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[false,true]'
$ json -d '{"type":"array","args":"object"}' <<< '[false,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[false,123]'
$ json -d '{"type":"array","args":"object"}' <<< '[false,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":"object"}' <<< '[false,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[false,{}]'
$ json -d '{"type":"array","args":"object"}' <<< '[false,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[false,[]]'
$ json -d '{"type":"array","args":"array"}' <<< '[false,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[false,null]'
$ json -d '{"type":"array","args":"array"}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[false,false]'
$ json -d '{"type":"array","args":"array"}' <<< '[false,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[false,true]'
$ json -d '{"type":"array","args":"array"}' <<< '[false,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[false,123]'
$ json -d '{"type":"array","args":"array"}' <<< '[false,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":"array"}' <<< '[false,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[false,{}]'
$ json -d '{"type":"array","args":"array"}' <<< '[false,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[false,[]]'
$

--[ open-array6 ]---------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[true,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< '[true,null]'
[true,null]
$ json -d '{"type":"array","args":"type"}' <<< '[true,false]'
[true,false]
$ json -d '{"type":"array","args":"type"}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":"type"}' <<< '[true,123]'
[true,123]
$ json -d '{"type":"array","args":"type"}' <<< '[true,"foo"]'
[true,"foo"]
$ json -d '{"type":"array","args":"type"}' <<< '[true,{}]'
[true,{}]
$ json -d '{"type":"array","args":"type"}' <<< '[true,[]]'
[true,[]]
$ json -d '{"type":"array","args":"null"}' <<< '[true,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[true,null]'
$ json -d '{"type":"array","args":"null"}' <<< '[true,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[true,false]'
$ json -d '{"type":"array","args":"null"}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[true,true]'
$ json -d '{"type":"array","args":"null"}' <<< '[true,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[true,123]'
$ json -d '{"type":"array","args":"null"}' <<< '[true,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[true,"foo"]'
$ json -d '{"type":"array","args":"null"}' <<< '[true,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[true,{}]'
$ json -d '{"type":"array","args":"null"}' <<< '[true,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[true,[]]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[true,null]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:7: [true,null]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[true,null]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[true,false]'
[true,false]
$ json -d '{"type":"array","args":"boolean"}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":"boolean"}' <<< '[true,123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:7: [true,123]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[true,123]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[true,"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:7: [true,"foo"]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[true,"foo"]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[true,{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:7: [true,{}]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[true,{}]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[true,[]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:7: [true,[]]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[true,[]]'
$ json -d '{"type":"array","args":"number"}' <<< '[true,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[true,null]'
$ json -d '{"type":"array","args":"number"}' <<< '[true,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[true,false]'
$ json -d '{"type":"array","args":"number"}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[true,true]'
$ json -d '{"type":"array","args":"number"}' <<< '[true,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[true,123]'
$ json -d '{"type":"array","args":"number"}' <<< '[true,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[true,"foo"]'
$ json -d '{"type":"array","args":"number"}' <<< '[true,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[true,{}]'
$ json -d '{"type":"array","args":"number"}' <<< '[true,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[true,[]]'
$ json -d '{"type":"array","args":"string"}' <<< '[true,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[true,null]'
$ json -d '{"type":"array","args":"string"}' <<< '[true,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[true,false]'
$ json -d '{"type":"array","args":"string"}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[true,true]'
$ json -d '{"type":"array","args":"string"}' <<< '[true,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[true,123]'
$ json -d '{"type":"array","args":"string"}' <<< '[true,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[true,"foo"]'
$ json -d '{"type":"array","args":"string"}' <<< '[true,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[true,{}]'
$ json -d '{"type":"array","args":"string"}' <<< '[true,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[true,[]]'
$ json -d '{"type":"array","args":"object"}' <<< '[true,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[true,null]'
$ json -d '{"type":"array","args":"object"}' <<< '[true,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[true,false]'
$ json -d '{"type":"array","args":"object"}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[true,true]'
$ json -d '{"type":"array","args":"object"}' <<< '[true,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[true,123]'
$ json -d '{"type":"array","args":"object"}' <<< '[true,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[true,"foo"]'
$ json -d '{"type":"array","args":"object"}' <<< '[true,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[true,{}]'
$ json -d '{"type":"array","args":"object"}' <<< '[true,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[true,[]]'
$ json -d '{"type":"array","args":"array"}' <<< '[true,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[true,null]'
$ json -d '{"type":"array","args":"array"}' <<< '[true,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[true,false]'
$ json -d '{"type":"array","args":"array"}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[true,true]'
$ json -d '{"type":"array","args":"array"}' <<< '[true,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[true,123]'
$ json -d '{"type":"array","args":"array"}' <<< '[true,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[true,"foo"]'
$ json -d '{"type":"array","args":"array"}' <<< '[true,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[true,{}]'
$ json -d '{"type":"array","args":"array"}' <<< '[true,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[true,[]]'
$

--[ open-array7 ]---------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[456,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< '[456,null]'
[456,null]
$ json -d '{"type":"array","args":"type"}' <<< '[456,false]'
[456,false]
$ json -d '{"type":"array","args":"type"}' <<< '[456,true]'
[456,true]
$ json -d '{"type":"array","args":"type"}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"array","args":"type"}' <<< '[456,"foo"]'
[456,"foo"]
$ json -d '{"type":"array","args":"type"}' <<< '[456,{}]'
[456,{}]
$ json -d '{"type":"array","args":"type"}' <<< '[456,[]]'
[456,[]]
$ json -d '{"type":"array","args":"null"}' <<< '[456,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [456,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[456,null]'
$ json -d '{"type":"array","args":"null"}' <<< '[456,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [456,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[456,false]'
$ json -d '{"type":"array","args":"null"}' <<< '[456,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [456,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[456,true]'
$ json -d '{"type":"array","args":"null"}' <<< '[456,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [456,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[456,123]'
$ json -d '{"type":"array","args":"null"}' <<< '[456,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [456,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[456,"foo"]'
$ json -d '{"type":"array","args":"null"}' <<< '[456,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [456,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[456,{}]'
$ json -d '{"type":"array","args":"null"}' <<< '[456,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [456,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[456,[]]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[456,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [456,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[456,null]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[456,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [456,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[456,false]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[456,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [456,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[456,true]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[456,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [456,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[456,123]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[456,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [456,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[456,"foo"]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[456,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [456,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[456,{}]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[456,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [456,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[456,[]]'
$ json -d '{"type":"array","args":"number"}' <<< '[456,null]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,null]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":"number"}' <<< '[456,null]'
$ json -d '{"type":"array","args":"number"}' <<< '[456,false]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,false]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":"number"}' <<< '[456,false]'
$ json -d '{"type":"array","args":"number"}' <<< '[456,true]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,true]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":"number"}' <<< '[456,true]'
$ json -d '{"type":"array","args":"number"}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"array","args":"number"}' <<< '[456,"foo"]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,"foo"]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":"number"}' <<< '[456,"foo"]'
$ json -d '{"type":"array","args":"number"}' <<< '[456,{}]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,{}]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":"number"}' <<< '[456,{}]'
$ json -d '{"type":"array","args":"number"}' <<< '[456,[]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,[]]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":"number"}' <<< '[456,[]]'
$ json -d '{"type":"array","args":"string"}' <<< '[456,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [456,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[456,null]'
$ json -d '{"type":"array","args":"string"}' <<< '[456,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [456,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[456,false]'
$ json -d '{"type":"array","args":"string"}' <<< '[456,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [456,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[456,true]'
$ json -d '{"type":"array","args":"string"}' <<< '[456,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [456,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[456,123]'
$ json -d '{"type":"array","args":"string"}' <<< '[456,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [456,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[456,"foo"]'
$ json -d '{"type":"array","args":"string"}' <<< '[456,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [456,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[456,{}]'
$ json -d '{"type":"array","args":"string"}' <<< '[456,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [456,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[456,[]]'
$ json -d '{"type":"array","args":"object"}' <<< '[456,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [456,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[456,null]'
$ json -d '{"type":"array","args":"object"}' <<< '[456,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [456,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[456,false]'
$ json -d '{"type":"array","args":"object"}' <<< '[456,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [456,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[456,true]'
$ json -d '{"type":"array","args":"object"}' <<< '[456,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [456,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[456,123]'
$ json -d '{"type":"array","args":"object"}' <<< '[456,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [456,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[456,"foo"]'
$ json -d '{"type":"array","args":"object"}' <<< '[456,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [456,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[456,{}]'
$ json -d '{"type":"array","args":"object"}' <<< '[456,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [456,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[456,[]]'
$ json -d '{"type":"array","args":"array"}' <<< '[456,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [456,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[456,null]'
$ json -d '{"type":"array","args":"array"}' <<< '[456,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [456,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[456,false]'
$ json -d '{"type":"array","args":"array"}' <<< '[456,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [456,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[456,true]'
$ json -d '{"type":"array","args":"array"}' <<< '[456,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [456,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[456,123]'
$ json -d '{"type":"array","args":"array"}' <<< '[456,"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [456,"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[456,"foo"]'
$ json -d '{"type":"array","args":"array"}' <<< '[456,{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [456,{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[456,{}]'
$ json -d '{"type":"array","args":"array"}' <<< '[456,[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [456,[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[456,[]]'
$

--[ open-array8 ]---------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[\"bar\",$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< '["bar",null]'
["bar",null]
$ json -d '{"type":"array","args":"type"}' <<< '["bar",false]'
["bar",false]
$ json -d '{"type":"array","args":"type"}' <<< '["bar",true]'
["bar",true]
$ json -d '{"type":"array","args":"type"}' <<< '["bar",123]'
["bar",123]
$ json -d '{"type":"array","args":"type"}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"array","args":"type"}' <<< '["bar",{}]'
["bar",{}]
$ json -d '{"type":"array","args":"type"}' <<< '["bar",[]]'
["bar",[]]
$ json -d '{"type":"array","args":"null"}' <<< '["bar",null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["bar",null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '["bar",null]'
$ json -d '{"type":"array","args":"null"}' <<< '["bar",false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["bar",false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '["bar",false]'
$ json -d '{"type":"array","args":"null"}' <<< '["bar",true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["bar",true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '["bar",true]'
$ json -d '{"type":"array","args":"null"}' <<< '["bar",123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["bar",123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '["bar",123]'
$ json -d '{"type":"array","args":"null"}' <<< '["bar","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["bar","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '["bar","foo"]'
$ json -d '{"type":"array","args":"null"}' <<< '["bar",{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["bar",{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '["bar",{}]'
$ json -d '{"type":"array","args":"null"}' <<< '["bar",[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["bar",[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '["bar",[]]'
$ json -d '{"type":"array","args":"boolean"}' <<< '["bar",null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["bar",null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '["bar",null]'
$ json -d '{"type":"array","args":"boolean"}' <<< '["bar",false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["bar",false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '["bar",false]'
$ json -d '{"type":"array","args":"boolean"}' <<< '["bar",true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["bar",true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '["bar",true]'
$ json -d '{"type":"array","args":"boolean"}' <<< '["bar",123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["bar",123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '["bar",123]'
$ json -d '{"type":"array","args":"boolean"}' <<< '["bar","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["bar","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '["bar","foo"]'
$ json -d '{"type":"array","args":"boolean"}' <<< '["bar",{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["bar",{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '["bar",{}]'
$ json -d '{"type":"array","args":"boolean"}' <<< '["bar",[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["bar",[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '["bar",[]]'
$ json -d '{"type":"array","args":"number"}' <<< '["bar",null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["bar",null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '["bar",null]'
$ json -d '{"type":"array","args":"number"}' <<< '["bar",false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["bar",false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '["bar",false]'
$ json -d '{"type":"array","args":"number"}' <<< '["bar",true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["bar",true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '["bar",true]'
$ json -d '{"type":"array","args":"number"}' <<< '["bar",123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["bar",123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '["bar",123]'
$ json -d '{"type":"array","args":"number"}' <<< '["bar","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["bar","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '["bar","foo"]'
$ json -d '{"type":"array","args":"number"}' <<< '["bar",{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["bar",{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '["bar",{}]'
$ json -d '{"type":"array","args":"number"}' <<< '["bar",[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["bar",[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '["bar",[]]'
$ json -d '{"type":"array","args":"string"}' <<< '["bar",null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",null]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":"string"}' <<< '["bar",null]'
$ json -d '{"type":"array","args":"string"}' <<< '["bar",false]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",false]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":"string"}' <<< '["bar",false]'
$ json -d '{"type":"array","args":"string"}' <<< '["bar",true]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",true]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":"string"}' <<< '["bar",true]'
$ json -d '{"type":"array","args":"string"}' <<< '["bar",123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",123]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":"string"}' <<< '["bar",123]'
$ json -d '{"type":"array","args":"string"}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"array","args":"string"}' <<< '["bar",{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",{}]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":"string"}' <<< '["bar",{}]'
$ json -d '{"type":"array","args":"string"}' <<< '["bar",[]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",[]]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":"string"}' <<< '["bar",[]]'
$ json -d '{"type":"array","args":"object"}' <<< '["bar",null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["bar",null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '["bar",null]'
$ json -d '{"type":"array","args":"object"}' <<< '["bar",false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["bar",false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '["bar",false]'
$ json -d '{"type":"array","args":"object"}' <<< '["bar",true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["bar",true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '["bar",true]'
$ json -d '{"type":"array","args":"object"}' <<< '["bar",123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["bar",123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '["bar",123]'
$ json -d '{"type":"array","args":"object"}' <<< '["bar","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["bar","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '["bar","foo"]'
$ json -d '{"type":"array","args":"object"}' <<< '["bar",{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["bar",{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '["bar",{}]'
$ json -d '{"type":"array","args":"object"}' <<< '["bar",[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["bar",[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '["bar",[]]'
$ json -d '{"type":"array","args":"array"}' <<< '["bar",null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["bar",null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '["bar",null]'
$ json -d '{"type":"array","args":"array"}' <<< '["bar",false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["bar",false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '["bar",false]'
$ json -d '{"type":"array","args":"array"}' <<< '["bar",true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["bar",true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '["bar",true]'
$ json -d '{"type":"array","args":"array"}' <<< '["bar",123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["bar",123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '["bar",123]'
$ json -d '{"type":"array","args":"array"}' <<< '["bar","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["bar","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '["bar","foo"]'
$ json -d '{"type":"array","args":"array"}' <<< '["bar",{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["bar",{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '["bar",{}]'
$ json -d '{"type":"array","args":"array"}' <<< '["bar",[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["bar",[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '["bar",[]]'
$

--[ open-array9 ]---------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[{},$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< '[{},null]'
[{},null]
$ json -d '{"type":"array","args":"type"}' <<< '[{},false]'
[{},false]
$ json -d '{"type":"array","args":"type"}' <<< '[{},true]'
[{},true]
$ json -d '{"type":"array","args":"type"}' <<< '[{},123]'
[{},123]
$ json -d '{"type":"array","args":"type"}' <<< '[{},"foo"]'
[{},"foo"]
$ json -d '{"type":"array","args":"type"}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":"type"}' <<< '[{},[]]'
[{},[]]
$ json -d '{"type":"array","args":"null"}' <<< '[{},null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{},null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[{},null]'
$ json -d '{"type":"array","args":"null"}' <<< '[{},false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{},false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[{},false]'
$ json -d '{"type":"array","args":"null"}' <<< '[{},true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{},true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[{},true]'
$ json -d '{"type":"array","args":"null"}' <<< '[{},123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{},123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[{},123]'
$ json -d '{"type":"array","args":"null"}' <<< '[{},"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{},"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[{},"foo"]'
$ json -d '{"type":"array","args":"null"}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[{},{}]'
$ json -d '{"type":"array","args":"null"}' <<< '[{},[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{},[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[{},[]]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[{},null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{},null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[{},null]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[{},false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{},false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[{},false]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[{},true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{},true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[{},true]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[{},123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{},123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[{},123]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[{},"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{},"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[{},"foo"]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[{},{}]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[{},[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{},[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[{},[]]'
$ json -d '{"type":"array","args":"number"}' <<< '[{},null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{},null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[{},null]'
$ json -d '{"type":"array","args":"number"}' <<< '[{},false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{},false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[{},false]'
$ json -d '{"type":"array","args":"number"}' <<< '[{},true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{},true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[{},true]'
$ json -d '{"type":"array","args":"number"}' <<< '[{},123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{},123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[{},123]'
$ json -d '{"type":"array","args":"number"}' <<< '[{},"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{},"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[{},"foo"]'
$ json -d '{"type":"array","args":"number"}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[{},{}]'
$ json -d '{"type":"array","args":"number"}' <<< '[{},[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{},[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[{},[]]'
$ json -d '{"type":"array","args":"string"}' <<< '[{},null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{},null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[{},null]'
$ json -d '{"type":"array","args":"string"}' <<< '[{},false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{},false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[{},false]'
$ json -d '{"type":"array","args":"string"}' <<< '[{},true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{},true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[{},true]'
$ json -d '{"type":"array","args":"string"}' <<< '[{},123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{},123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[{},123]'
$ json -d '{"type":"array","args":"string"}' <<< '[{},"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{},"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[{},"foo"]'
$ json -d '{"type":"array","args":"string"}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[{},{}]'
$ json -d '{"type":"array","args":"string"}' <<< '[{},[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{},[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[{},[]]'
$ json -d '{"type":"array","args":"object"}' <<< '[{},null]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},null]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":"object"}' <<< '[{},null]'
$ json -d '{"type":"array","args":"object"}' <<< '[{},false]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},false]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":"object"}' <<< '[{},false]'
$ json -d '{"type":"array","args":"object"}' <<< '[{},true]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},true]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":"object"}' <<< '[{},true]'
$ json -d '{"type":"array","args":"object"}' <<< '[{},123]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},123]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":"object"}' <<< '[{},123]'
$ json -d '{"type":"array","args":"object"}' <<< '[{},"foo"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},"foo"]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":"object"}' <<< '[{},"foo"]'
$ json -d '{"type":"array","args":"object"}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":"object"}' <<< '[{},[]]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},[]]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":"object"}' <<< '[{},[]]'
$ json -d '{"type":"array","args":"array"}' <<< '[{},null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{},null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[{},null]'
$ json -d '{"type":"array","args":"array"}' <<< '[{},false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{},false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[{},false]'
$ json -d '{"type":"array","args":"array"}' <<< '[{},true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{},true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[{},true]'
$ json -d '{"type":"array","args":"array"}' <<< '[{},123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{},123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[{},123]'
$ json -d '{"type":"array","args":"array"}' <<< '[{},"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{},"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[{},"foo"]'
$ json -d '{"type":"array","args":"array"}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[{},{}]'
$ json -d '{"type":"array","args":"array"}' <<< '[{},[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{},[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"array"}' <<< '[{},[]]'
$

--[ open-array10 ]--------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":"'$t'"}'; c="json -d '$t2' <<< '[[],$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":"type"}' <<< '[[],null]'
[[],null]
$ json -d '{"type":"array","args":"type"}' <<< '[[],false]'
[[],false]
$ json -d '{"type":"array","args":"type"}' <<< '[[],true]'
[[],true]
$ json -d '{"type":"array","args":"type"}' <<< '[[],123]'
[[],123]
$ json -d '{"type":"array","args":"type"}' <<< '[[],"foo"]'
[[],"foo"]
$ json -d '{"type":"array","args":"type"}' <<< '[[],{}]'
[[],{}]
$ json -d '{"type":"array","args":"type"}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":"null"}' <<< '[[],null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[],null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[[],null]'
$ json -d '{"type":"array","args":"null"}' <<< '[[],false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[],false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[[],false]'
$ json -d '{"type":"array","args":"null"}' <<< '[[],true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[],true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[[],true]'
$ json -d '{"type":"array","args":"null"}' <<< '[[],123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[],123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[[],123]'
$ json -d '{"type":"array","args":"null"}' <<< '[[],"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[],"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[[],"foo"]'
$ json -d '{"type":"array","args":"null"}' <<< '[[],{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[],{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[[],{}]'
$ json -d '{"type":"array","args":"null"}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"null"}' <<< '[[],[]]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[[],null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[],null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[[],null]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[[],false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[],false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[[],false]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[[],true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[],true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[[],true]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[[],123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[],123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[[],123]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[[],"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[],"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[[],"foo"]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[[],{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[],{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[[],{}]'
$ json -d '{"type":"array","args":"boolean"}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"boolean"}' <<< '[[],[]]'
$ json -d '{"type":"array","args":"number"}' <<< '[[],null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[],null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[[],null]'
$ json -d '{"type":"array","args":"number"}' <<< '[[],false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[],false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[[],false]'
$ json -d '{"type":"array","args":"number"}' <<< '[[],true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[],true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[[],true]'
$ json -d '{"type":"array","args":"number"}' <<< '[[],123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[],123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[[],123]'
$ json -d '{"type":"array","args":"number"}' <<< '[[],"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[],"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[[],"foo"]'
$ json -d '{"type":"array","args":"number"}' <<< '[[],{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[],{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[[],{}]'
$ json -d '{"type":"array","args":"number"}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"number"}' <<< '[[],[]]'
$ json -d '{"type":"array","args":"string"}' <<< '[[],null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[],null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[[],null]'
$ json -d '{"type":"array","args":"string"}' <<< '[[],false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[],false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[[],false]'
$ json -d '{"type":"array","args":"string"}' <<< '[[],true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[],true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[[],true]'
$ json -d '{"type":"array","args":"string"}' <<< '[[],123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[],123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[[],123]'
$ json -d '{"type":"array","args":"string"}' <<< '[[],"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[],"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[[],"foo"]'
$ json -d '{"type":"array","args":"string"}' <<< '[[],{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[],{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[[],{}]'
$ json -d '{"type":"array","args":"string"}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"string"}' <<< '[[],[]]'
$ json -d '{"type":"array","args":"object"}' <<< '[[],null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[],null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[[],null]'
$ json -d '{"type":"array","args":"object"}' <<< '[[],false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[],false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[[],false]'
$ json -d '{"type":"array","args":"object"}' <<< '[[],true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[],true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[[],true]'
$ json -d '{"type":"array","args":"object"}' <<< '[[],123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[],123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[[],123]'
$ json -d '{"type":"array","args":"object"}' <<< '[[],"foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[],"foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[[],"foo"]'
$ json -d '{"type":"array","args":"object"}' <<< '[[],{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[],{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[[],{}]'
$ json -d '{"type":"array","args":"object"}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":"object"}' <<< '[[],[]]'
$ json -d '{"type":"array","args":"array"}' <<< '[[],null]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],null]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":"array"}' <<< '[[],null]'
$ json -d '{"type":"array","args":"array"}' <<< '[[],false]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],false]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":"array"}' <<< '[[],false]'
$ json -d '{"type":"array","args":"array"}' <<< '[[],true]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],true]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":"array"}' <<< '[[],true]'
$ json -d '{"type":"array","args":"array"}' <<< '[[],123]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],123]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":"array"}' <<< '[[],123]'
$ json -d '{"type":"array","args":"array"}' <<< '[[],"foo"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],"foo"]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":"array"}' <<< '[[],"foo"]'
$ json -d '{"type":"array","args":"array"}' <<< '[[],{}]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],{}]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":"array"}' <<< '[[],{}]'
$ json -d '{"type":"array","args":"array"}' <<< '[[],[]]'
[[],[]]
$

--[ open-array11 ]--------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"foo"'; do for v2 in null false true 123 '"foo"' '{}' '[]'; do t='{"type":"array","args":{"plain":'"$v1"'}}'; c="json -d '$t' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[false]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[true]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[123]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[null]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[true]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[123]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[null]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[false]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[123]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[null]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[false]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[true]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"plain":123}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[null]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[false]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[true]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[123]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '[[]]'
$

--[ open-array12 ]--------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"foo"'; do for v2 in null false true 123 '"foo"' '{}' '[]'; do t='{"type":"array","args":{"plain":'"$v1"'}}'; c="json -d '$t' <<< '[$v1,$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[null,false]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,false]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[null,false]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[null,true]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,true]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[null,true]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[null,123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,123]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[null,123]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[null,"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,"foo"]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[null,{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,{}]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[null,{}]'
$ json -d '{"type":"array","args":{"plain":null}}' <<< '[null,[]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,[]]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":{"plain":null}}' <<< '[null,[]]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[false,null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,null]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[false,null]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[false,true]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,true]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[false,true]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[false,123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,123]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[false,123]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[false,"foo"]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,"foo"]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[false,{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,{}]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[false,{}]'
$ json -d '{"type":"array","args":{"plain":false}}' <<< '[false,[]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,[]]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":{"plain":false}}' <<< '[false,[]]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[true,null]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,null]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[true,null]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[true,false]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,false]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[true,false]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[true,123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,123]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[true,123]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[true,"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,"foo"]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[true,"foo"]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[true,{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,{}]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[true,{}]'
$ json -d '{"type":"array","args":{"plain":true}}' <<< '[true,[]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,[]]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":{"plain":true}}' <<< '[true,[]]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[123,null]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,null]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[123,null]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[123,false]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,false]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[123,false]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[123,true]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,true]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[123,true]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[123,"foo"]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,"foo"]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[123,"foo"]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[123,{}]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,{}]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[123,{}]'
$ json -d '{"type":"array","args":{"plain":123}}' <<< '[123,[]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,[]]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":{"plain":123}}' <<< '[123,[]]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",null]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",null]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",false]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",false]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",false]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",true]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",true]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",true]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",123]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",123]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo","foo"]'
["foo","foo"]
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",{}]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",{}]'
$ json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",[]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",[]]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":{"plain":"foo"}}' <<< '["foo",[]]'
$

--[ object-open-array ]---------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"'"$t"'"}}]}'; c="json -d '$t2' <<< '{\"foo\":[$v]}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[true]}'
{"foo":[true]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[123]}'
{"foo":[123]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[true]}'
{"foo":[true]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[123]}'
{"foo":[123]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$

--[ object-open-array2 ]--------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"'"$t"'"}}]}'; c="json -d '$t2' <<< '{\"foo\":[$v0,$v]}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],null]}'
{"foo":[[{}],null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],false]}'
{"foo":[[{}],false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],true]}'
{"foo":[[{}],true]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],123]}'
{"foo":[[{}],123]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],"bar"]}'
{"foo":[[{}],"bar"]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],{}]}'
{"foo":[[{}],{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],[]]}'
{"foo":[[{}],[]]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,null]}'
{"foo":[null,null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,false]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,false]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,true]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,true]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,123]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,123]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,"bar"]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,"bar"]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,{}]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,{}]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,[]]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,[]]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,null]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,null]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,false]}'
{"foo":[false,false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,true]}'
{"foo":[false,true]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,123]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,123]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,"bar"]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,"bar"]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,{}]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,{}]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,[]]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,[]]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,null]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,null]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,false]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,false]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,true]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,true]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,123]}'
{"foo":[456,123]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,"bar"]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,"bar"]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,{}]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,{}]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,[]]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,[]]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",null]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",null]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",false]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",false]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",true]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",true]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",123]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",123]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar","bar"]}'
{"foo":["bar","bar"]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",{}]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",{}]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",[]]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",[]]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},null]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},null]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},false]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},false]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},true]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},true]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},123]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},123]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},"bar"]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},"bar"]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},{}]}'
{"foo":[{},{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},[]]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},[]]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],null]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],null]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],false]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],false]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],true]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],true]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],123]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],123]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],"bar"]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],"bar"]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],{}]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],{}]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],[]]}'
{"foo":[[],[]]}
$

--[ dict-open-array ]-----------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"'"$t"'"}}]}'; c="json -d '$t2' <<< '{\"foo\":[$v]}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[true]}'
{"foo":[true]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[123]}'
{"foo":[123]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[true]}'
{"foo":[true]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[123]}'
{"foo":[123]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$

--[ dict-open-array2 ]----------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"'"$t"'"}}]}'; c="json -d '$t2' <<< '{\"foo\":[$v0,$v]}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],null]}'
{"foo":[[{}],null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],false]}'
{"foo":[[{}],false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],true]}'
{"foo":[[{}],true]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],123]}'
{"foo":[[{}],123]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],"bar"]}'
{"foo":[[{}],"bar"]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],{}]}'
{"foo":[[{}],{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"type"}}]}' <<< '{"foo":[[{}],[]]}'
{"foo":[[{}],[]]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,null]}'
{"foo":[null,null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,false]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,false]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,true]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,true]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,123]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,123]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,"bar"]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,"bar"]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,{}]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,{}]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,[]]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,[]]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"null"}}]}' <<< '{"foo":[null,[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,null]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,null]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,false]}'
{"foo":[false,false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,true]}'
{"foo":[false,true]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,123]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,123]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,"bar"]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,"bar"]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,{}]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,{}]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,[]]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,[]]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"boolean"}}]}' <<< '{"foo":[false,[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,null]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,null]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,false]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,false]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,true]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,true]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,123]}'
{"foo":[456,123]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,"bar"]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,"bar"]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,{}]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,{}]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,[]]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,[]]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"number"}}]}' <<< '{"foo":[456,[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",null]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",null]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",false]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",false]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",true]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",true]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",123]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",123]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar","bar"]}'
{"foo":["bar","bar"]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",{}]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",{}]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",[]]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",[]]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"string"}}]}' <<< '{"foo":["bar",[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},null]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},null]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},false]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},false]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},true]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},true]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},123]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},123]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},"bar"]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},"bar"]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},{}]}'
{"foo":[{},{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},[]]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},[]]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"object"}}]}' <<< '{"foo":[{},[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],null]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],null]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],false]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],false]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],true]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],true]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],123]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],123]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],"bar"]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],"bar"]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],{}]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],{}]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":"array"}}]}' <<< '{"foo":[[],[]]}'
{"foo":[[],[]]}
$

--[ open-array-object ]---------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":{"type":"object","args":[]}}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[{"foo":1}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[{"foo":1}]'
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[{"foo":1,"bar":2}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1,"bar":2}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[]}}' <<< '[[]]'
$

--[ open-array-object2 ]--------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[{}]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [{}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1}]'
[{"foo":1}]
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1,"bar":2}]'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: [{"foo":1,"bar":2}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"}]}}' <<< '[[]]'
$

--[ open-array-object3 ]--------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{}]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [{}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1}]'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: [{"foo":1}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1}]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1,"bar":2}]'
[{"foo":1,"bar":2}]
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:18: type check error: too many arguments
json: error: <stdin>:1:18: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:18:                  ^
[{"foo":1,"bar":2
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[[]]'
$

--[ open-array-dict ]-----------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":{"type":"dict","args":[]}}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[{"foo":1}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[{"foo":1}]'
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[{"foo":1,"bar":2}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1,"bar":2}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[]}}' <<< '[[]]'
$

--[ open-array-dict2 ]----------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1}]'
[{"foo":1}]
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1,"bar":2}]'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: [{"foo":1,"bar":2}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"}]}}' <<< '[[]]'
$

--[ open-array-dict3 ]----------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1}]'
[{"foo":1}]
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1,"bar":2}]'
[{"foo":1,"bar":2}]
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:18: type check error: too many arguments
json: error: <stdin>:1:18: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:18:                  ^
[{"foo":1,"bar":2
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}}' <<< '[[]]'
$

--[ open-array-open-array ]-----------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in '' '[]'; do t2='{"type":"array","args":{"type":"array","args":"'"$t"'"}}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[]]'
[[]]
$

--[ open-array-open-array2 ]----------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":{"type":"array","args":"'"$t"'"}}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"type"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"null"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"boolean"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"number"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"string"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"object"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":"array"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[]]'
[[]]
$

--[ open-array-open-array3 ]----------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":{"type":"array","args":"'"$t"'"}}'; c="json -d '$t2' <<< '[[$v]]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[[]]]'
[[[]]]
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]]]'
[[[]]]
$

--[ open-array-open-array4 ]----------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":{"type":"array","args":"'"$t"'"}}'; c="json -d '$t2' <<< '[[$v0],[$v]]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[[{}]],[null]]'
[[[{}]],[null]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[[{}]],[false]]'
[[[{}]],[false]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[[{}]],[true]]'
[[[{}]],[true]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[[{}]],[123]]'
[[[{}]],[123]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[[{}]],["foo"]]'
[[[{}]],["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[[{}]],[{}]]'
[[[{}]],[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":"type"}}' <<< '[[[{}]],[[]]]'
[[[{}]],[[]]]
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[null]]'
[[null],[null]]
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[false]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[false]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[true]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[true]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[123]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[123]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],["foo"]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],["foo"]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[{}]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[{}]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[[]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"null"}}' <<< '[[null],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[null]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[null]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[false]]'
[[false],[false]]
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[true]]'
[[false],[true]]
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[123]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[123]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],["foo"]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],["foo"]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[{}]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[{}]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[[]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"boolean"}}' <<< '[[false],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[null]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[null]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[false]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[false]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[true]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[true]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[123]]'
[[456],[123]]
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],["foo"]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],["foo"]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[{}]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[{}]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[[]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"number"}}' <<< '[[456],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[null]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[null]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[false]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[false]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[true]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[true]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[123]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[123]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],["foo"]]'
[["bar"],["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[{}]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[{}]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[[]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"string"}}' <<< '[["bar"],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[null]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[null]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[false]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[false]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[true]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[true]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[123]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[123]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],["foo"]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],["foo"]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[{}]]'
[[{}],[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[[]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"object"}}' <<< '[[{}],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[null]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[null]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[false]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[false]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[true]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[true]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[123]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[123]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],["foo"]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],["foo"]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[{}]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[{}]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":"array"}}' <<< '[[[]],[[]]]'
[[[]],[[]]]
$

--[ closed-array ]--------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '[]'; do t='{"type":"array","args":[]}'; c="json -d '$t' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":[]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":[]}' <<< 'null'
$ json -d '{"type":"array","args":[]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":[]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":[]}' <<< 'false'
$ json -d '{"type":"array","args":[]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":[]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":[]}' <<< 'true'
$ json -d '{"type":"array","args":[]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":[]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":[]}' <<< '123'
$ json -d '{"type":"array","args":[]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":[]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":[]}' <<< '"foo"'
$ json -d '{"type":"array","args":[]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"array","args":[]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"array","args":[]}' <<< '{}'
$ json -d '{"type":"array","args":[]}' <<< '[]'
[]
$

--[ closed-array2 ]-------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '[]'; do t='{"type":"array","args":[]}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[]}' <<< '[null]'
$ json -d '{"type":"array","args":[]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[]}' <<< '[false]'
$ json -d '{"type":"array","args":[]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[]}' <<< '[true]'
$ json -d '{"type":"array","args":[]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[]}' <<< '[123]'
$ json -d '{"type":"array","args":[]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[]}' <<< '[{}]'
$ json -d '{"type":"array","args":[]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: too many arguments
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[]}' <<< '[[]]'
$

--[ closed-array3 ]-------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do t2='{"type":"array","args":["'$t'"]}'; c="json -d '$t2' <<< '[]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":["type"]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["type"]}' <<< '[]'
$ json -d '{"type":"array","args":["null"]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["null"]}' <<< '[]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[]'
$ json -d '{"type":"array","args":["number"]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["number"]}' <<< '[]'
$ json -d '{"type":"array","args":["string"]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["string"]}' <<< '[]'
$ json -d '{"type":"array","args":["object"]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["object"]}' <<< '[]'
$ json -d '{"type":"array","args":["array"]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["array"]}' <<< '[]'
$

--[ closed-array4 ]-------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":["'$t'"]}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":["type"]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":["type"]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":["type"]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":["type"]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":["type"]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"array","args":["type"]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":["type"]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":["null"]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":["null"]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["null"]}' <<< '[false]'
$ json -d '{"type":"array","args":["null"]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["null"]}' <<< '[true]'
$ json -d '{"type":"array","args":["null"]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["null"]}' <<< '[123]'
$ json -d '{"type":"array","args":["null"]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["null"]}' <<< '["foo"]'
$ json -d '{"type":"array","args":["null"]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["null"]}' <<< '[{}]'
$ json -d '{"type":"array","args":["null"]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["null"]}' <<< '[[]]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[null]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":["boolean"]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":["boolean"]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[123]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '["foo"]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[{}]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[[]]'
$ json -d '{"type":"array","args":["number"]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["number"]}' <<< '[null]'
$ json -d '{"type":"array","args":["number"]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["number"]}' <<< '[false]'
$ json -d '{"type":"array","args":["number"]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["number"]}' <<< '[true]'
$ json -d '{"type":"array","args":["number"]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":["number"]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["number"]}' <<< '["foo"]'
$ json -d '{"type":"array","args":["number"]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["number"]}' <<< '[{}]'
$ json -d '{"type":"array","args":["number"]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["number"]}' <<< '[[]]'
$ json -d '{"type":"array","args":["string"]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["string"]}' <<< '[null]'
$ json -d '{"type":"array","args":["string"]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["string"]}' <<< '[false]'
$ json -d '{"type":"array","args":["string"]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["string"]}' <<< '[true]'
$ json -d '{"type":"array","args":["string"]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["string"]}' <<< '[123]'
$ json -d '{"type":"array","args":["string"]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"array","args":["string"]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["string"]}' <<< '[{}]'
$ json -d '{"type":"array","args":["string"]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["string"]}' <<< '[[]]'
$ json -d '{"type":"array","args":["object"]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["object"]}' <<< '[null]'
$ json -d '{"type":"array","args":["object"]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["object"]}' <<< '[false]'
$ json -d '{"type":"array","args":["object"]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["object"]}' <<< '[true]'
$ json -d '{"type":"array","args":["object"]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["object"]}' <<< '[123]'
$ json -d '{"type":"array","args":["object"]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["object"]}' <<< '["foo"]'
$ json -d '{"type":"array","args":["object"]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":["object"]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["object"]}' <<< '[[]]'
$ json -d '{"type":"array","args":["array"]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["array"]}' <<< '[null]'
$ json -d '{"type":"array","args":["array"]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["array"]}' <<< '[false]'
$ json -d '{"type":"array","args":["array"]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["array"]}' <<< '[true]'
$ json -d '{"type":"array","args":["array"]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["array"]}' <<< '[123]'
$ json -d '{"type":"array","args":["array"]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["array"]}' <<< '["foo"]'
$ json -d '{"type":"array","args":["array"]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":["array"]}' <<< '[{}]'
$ json -d '{"type":"array","args":["array"]}' <<< '[[]]'
[[]]
$

--[ closed-array5 ]-------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":["'$t'"]}'; c="json -d '$t2' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":["type"]}' <<< '[[{}],null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],null]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"array","args":["type"]}' <<< '[[{}],null]'
$ json -d '{"type":"array","args":["type"]}' <<< '[[{}],false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],false]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"array","args":["type"]}' <<< '[[{}],false]'
$ json -d '{"type":"array","args":["type"]}' <<< '[[{}],true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],true]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"array","args":["type"]}' <<< '[[{}],true]'
$ json -d '{"type":"array","args":["type"]}' <<< '[[{}],123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],123]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"array","args":["type"]}' <<< '[[{}],123]'
$ json -d '{"type":"array","args":["type"]}' <<< '[[{}],"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],"foo"]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"array","args":["type"]}' <<< '[[{}],"foo"]'
$ json -d '{"type":"array","args":["type"]}' <<< '[[{}],{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],{}]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"array","args":["type"]}' <<< '[[{}],{}]'
$ json -d '{"type":"array","args":["type"]}' <<< '[[{}],[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [[{}],[]]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"array","args":["type"]}' <<< '[[{}],[]]'
$ json -d '{"type":"array","args":["null"]}' <<< '[null,null]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,null]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"array","args":["null"]}' <<< '[null,null]'
$ json -d '{"type":"array","args":["null"]}' <<< '[null,false]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,false]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"array","args":["null"]}' <<< '[null,false]'
$ json -d '{"type":"array","args":["null"]}' <<< '[null,true]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,true]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"array","args":["null"]}' <<< '[null,true]'
$ json -d '{"type":"array","args":["null"]}' <<< '[null,123]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,123]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"array","args":["null"]}' <<< '[null,123]'
$ json -d '{"type":"array","args":["null"]}' <<< '[null,"foo"]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,"foo"]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"array","args":["null"]}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":["null"]}' <<< '[null,{}]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,{}]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"array","args":["null"]}' <<< '[null,{}]'
$ json -d '{"type":"array","args":["null"]}' <<< '[null,[]]'
json: error: <stdin>:1:6: type check error: too many arguments
json: error: <stdin>:1:6: [null,[]]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"array","args":["null"]}' <<< '[null,[]]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[false,null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,null]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[false,null]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[false,false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,false]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[false,false]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[false,true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,true]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[false,true]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[false,123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,123]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[false,123]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[false,"foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,"foo"]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[false,{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,{}]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[false,{}]'
$ json -d '{"type":"array","args":["boolean"]}' <<< '[false,[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: [false,[]]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"array","args":["boolean"]}' <<< '[false,[]]'
$ json -d '{"type":"array","args":["number"]}' <<< '[456,null]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,null]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"array","args":["number"]}' <<< '[456,null]'
$ json -d '{"type":"array","args":["number"]}' <<< '[456,false]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,false]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"array","args":["number"]}' <<< '[456,false]'
$ json -d '{"type":"array","args":["number"]}' <<< '[456,true]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,true]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"array","args":["number"]}' <<< '[456,true]'
$ json -d '{"type":"array","args":["number"]}' <<< '[456,123]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,123]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"array","args":["number"]}' <<< '[456,123]'
$ json -d '{"type":"array","args":["number"]}' <<< '[456,"foo"]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,"foo"]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"array","args":["number"]}' <<< '[456,"foo"]'
$ json -d '{"type":"array","args":["number"]}' <<< '[456,{}]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,{}]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"array","args":["number"]}' <<< '[456,{}]'
$ json -d '{"type":"array","args":["number"]}' <<< '[456,[]]'
json: error: <stdin>:1:5: type check error: too many arguments
json: error: <stdin>:1:5: [456,[]]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"array","args":["number"]}' <<< '[456,[]]'
$ json -d '{"type":"array","args":["string"]}' <<< '["bar",null]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",null]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"array","args":["string"]}' <<< '["bar",null]'
$ json -d '{"type":"array","args":["string"]}' <<< '["bar",false]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",false]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"array","args":["string"]}' <<< '["bar",false]'
$ json -d '{"type":"array","args":["string"]}' <<< '["bar",true]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",true]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"array","args":["string"]}' <<< '["bar",true]'
$ json -d '{"type":"array","args":["string"]}' <<< '["bar",123]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",123]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"array","args":["string"]}' <<< '["bar",123]'
$ json -d '{"type":"array","args":["string"]}' <<< '["bar","foo"]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar","foo"]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"array","args":["string"]}' <<< '["bar","foo"]'
$ json -d '{"type":"array","args":["string"]}' <<< '["bar",{}]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",{}]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"array","args":["string"]}' <<< '["bar",{}]'
$ json -d '{"type":"array","args":["string"]}' <<< '["bar",[]]'
json: error: <stdin>:1:7: type check error: too many arguments
json: error: <stdin>:1:7: ["bar",[]]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"array","args":["string"]}' <<< '["bar",[]]'
$ json -d '{"type":"array","args":["object"]}' <<< '[{},null]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},null]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"array","args":["object"]}' <<< '[{},null]'
$ json -d '{"type":"array","args":["object"]}' <<< '[{},false]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},false]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"array","args":["object"]}' <<< '[{},false]'
$ json -d '{"type":"array","args":["object"]}' <<< '[{},true]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},true]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"array","args":["object"]}' <<< '[{},true]'
$ json -d '{"type":"array","args":["object"]}' <<< '[{},123]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},123]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"array","args":["object"]}' <<< '[{},123]'
$ json -d '{"type":"array","args":["object"]}' <<< '[{},"foo"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},"foo"]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"array","args":["object"]}' <<< '[{},"foo"]'
$ json -d '{"type":"array","args":["object"]}' <<< '[{},{}]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},{}]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"array","args":["object"]}' <<< '[{},{}]'
$ json -d '{"type":"array","args":["object"]}' <<< '[{},[]]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [{},[]]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"array","args":["object"]}' <<< '[{},[]]'
$ json -d '{"type":"array","args":["array"]}' <<< '[[],null]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],null]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"array","args":["array"]}' <<< '[[],null]'
$ json -d '{"type":"array","args":["array"]}' <<< '[[],false]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],false]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"array","args":["array"]}' <<< '[[],false]'
$ json -d '{"type":"array","args":["array"]}' <<< '[[],true]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],true]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"array","args":["array"]}' <<< '[[],true]'
$ json -d '{"type":"array","args":["array"]}' <<< '[[],123]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],123]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"array","args":["array"]}' <<< '[[],123]'
$ json -d '{"type":"array","args":["array"]}' <<< '[[],"foo"]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],"foo"]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"array","args":["array"]}' <<< '[[],"foo"]'
$ json -d '{"type":"array","args":["array"]}' <<< '[[],{}]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],{}]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"array","args":["array"]}' <<< '[[],{}]'
$ json -d '{"type":"array","args":["array"]}' <<< '[[],[]]'
json: error: <stdin>:1:4: type check error: too many arguments
json: error: <stdin>:1:4: [[],[]]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"array","args":["array"]}' <<< '[[],[]]'
$

--[ closed-array6 ]-------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; t2='{"type":"array","args":["type","'$t'"]}'; c="json -d '$t2' <<< '[$v0]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":["type","type"]}' <<< '[[{}]]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [[{}]]
json: error: <stdin>:1:6:      ^
[[{}]
command failed: json -d '{"type":"array","args":["type","type"]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null]'
json: error: <stdin>:1:6: type check error: too few arguments
json: error: <stdin>:1:6: [null]
json: error: <stdin>:1:6:      ^
[null
command failed: json -d '{"type":"array","args":["type","null"]}' <<< '[null]'
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: [false]
json: error: <stdin>:1:7:       ^
[false
command failed: json -d '{"type":"array","args":["type","boolean"]}' <<< '[false]'
$ json -d '{"type":"array","args":["type","number"]}' <<< '[456]'
json: error: <stdin>:1:5: type check error: too few arguments
json: error: <stdin>:1:5: [456]
json: error: <stdin>:1:5:     ^
[456
command failed: json -d '{"type":"array","args":["type","number"]}' <<< '[456]'
$ json -d '{"type":"array","args":["type","string"]}' <<< '["bar"]'
json: error: <stdin>:1:7: type check error: too few arguments
json: error: <stdin>:1:7: ["bar"]
json: error: <stdin>:1:7:       ^
["bar"
command failed: json -d '{"type":"array","args":["type","string"]}' <<< '["bar"]'
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{}]'
json: error: <stdin>:1:4: type check error: too few arguments
json: error: <stdin>:1:4: [{}]
json: error: <stdin>:1:4:    ^
[{}
command failed: json -d '{"type":"array","args":["type","object"]}' <<< '[{}]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[]]'
json: error: <stdin>:1:4: type check error: too few arguments
json: error: <stdin>:1:4: [[]]
json: error: <stdin>:1:4:    ^
[[]
command failed: json -d '{"type":"array","args":["type","array"]}' <<< '[[]]'
$

--[ closed-array7 ]-------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":["type","'$t'"]}'; c="json -d '$t2' <<< '[$v0,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":["type","type"]}' <<< '[[{}],null]'
[[{}],null]
$ json -d '{"type":"array","args":["type","type"]}' <<< '[[{}],false]'
[[{}],false]
$ json -d '{"type":"array","args":["type","type"]}' <<< '[[{}],true]'
[[{}],true]
$ json -d '{"type":"array","args":["type","type"]}' <<< '[[{}],123]'
[[{}],123]
$ json -d '{"type":"array","args":["type","type"]}' <<< '[[{}],"foo"]'
[[{}],"foo"]
$ json -d '{"type":"array","args":["type","type"]}' <<< '[[{}],{}]'
[[{}],{}]
$ json -d '{"type":"array","args":["type","type"]}' <<< '[[{}],[]]'
[[{}],[]]
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null,false]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,false]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type","null"]}' <<< '[null,false]'
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null,true]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,true]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type","null"]}' <<< '[null,true]'
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null,123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,123]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type","null"]}' <<< '[null,123]'
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null,"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,"foo"]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type","null"]}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null,{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,{}]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type","null"]}' <<< '[null,{}]'
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null,[]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:7: [null,[]]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type","null"]}' <<< '[null,[]]'
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,null]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,null]'
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,true]'
[false,true]
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,123]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,123]'
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,"foo"]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,"foo"]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,{}]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,{}]'
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,[]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:8: [false,[]]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,[]]'
$ json -d '{"type":"array","args":["type","number"]}' <<< '[456,null]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,null]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":["type","number"]}' <<< '[456,null]'
$ json -d '{"type":"array","args":["type","number"]}' <<< '[456,false]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,false]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":["type","number"]}' <<< '[456,false]'
$ json -d '{"type":"array","args":["type","number"]}' <<< '[456,true]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,true]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":["type","number"]}' <<< '[456,true]'
$ json -d '{"type":"array","args":["type","number"]}' <<< '[456,123]'
[456,123]
$ json -d '{"type":"array","args":["type","number"]}' <<< '[456,"foo"]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,"foo"]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":["type","number"]}' <<< '[456,"foo"]'
$ json -d '{"type":"array","args":["type","number"]}' <<< '[456,{}]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,{}]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":["type","number"]}' <<< '[456,{}]'
$ json -d '{"type":"array","args":["type","number"]}' <<< '[456,[]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:6: [456,[]]
json: error: <stdin>:1:6:      ^
[456,
command failed: json -d '{"type":"array","args":["type","number"]}' <<< '[456,[]]'
$ json -d '{"type":"array","args":["type","string"]}' <<< '["bar",null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",null]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":["type","string"]}' <<< '["bar",null]'
$ json -d '{"type":"array","args":["type","string"]}' <<< '["bar",false]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",false]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":["type","string"]}' <<< '["bar",false]'
$ json -d '{"type":"array","args":["type","string"]}' <<< '["bar",true]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",true]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":["type","string"]}' <<< '["bar",true]'
$ json -d '{"type":"array","args":["type","string"]}' <<< '["bar",123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",123]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":["type","string"]}' <<< '["bar",123]'
$ json -d '{"type":"array","args":["type","string"]}' <<< '["bar","foo"]'
["bar","foo"]
$ json -d '{"type":"array","args":["type","string"]}' <<< '["bar",{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",{}]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":["type","string"]}' <<< '["bar",{}]'
$ json -d '{"type":"array","args":["type","string"]}' <<< '["bar",[]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:8: ["bar",[]]
json: error: <stdin>:1:8:        ^
["bar",
command failed: json -d '{"type":"array","args":["type","string"]}' <<< '["bar",[]]'
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{},null]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},null]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":["type","object"]}' <<< '[{},null]'
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{},false]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},false]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":["type","object"]}' <<< '[{},false]'
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{},true]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},true]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":["type","object"]}' <<< '[{},true]'
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{},123]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},123]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":["type","object"]}' <<< '[{},123]'
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{},"foo"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},"foo"]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":["type","object"]}' <<< '[{},"foo"]'
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{},[]]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:5: [{},[]]
json: error: <stdin>:1:5:     ^
[{},
command failed: json -d '{"type":"array","args":["type","object"]}' <<< '[{},[]]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[],null]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],null]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":["type","array"]}' <<< '[[],null]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[],false]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],false]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":["type","array"]}' <<< '[[],false]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[],true]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],true]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":["type","array"]}' <<< '[[],true]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[],123]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],123]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":["type","array"]}' <<< '[[],123]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[],"foo"]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],"foo"]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":["type","array"]}' <<< '[[],"foo"]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[],{}]'
json: error: <stdin>:1:5: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:5: [[],{}]
json: error: <stdin>:1:5:     ^
[[],
command failed: json -d '{"type":"array","args":["type","array"]}' <<< '[[],{}]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[],[]]'
[[],[]]
$

--[ closed-array8 ]-------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='null'; v1='false'; v2='123';; null) v0='null'; v1='null'; v2='null';; boolean) v0='false'; v1='true'; v2='false';; number) v0='123'; v1='456'; v2='789';; string) v0='"foo"'; v1='"bar"'; v2='"baz"';; object) v0='{}'; v1='{"foo":1}'; v2='{"foo":1,"bar":2}';; array) v0='[]'; v1='[[]]'; v2='[[[]]]';; esac; t2='{"type":"array","args":["type","'$t'"]}'; c="json -d '$t2' <<< '[$v0,$v1,$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":["type","type"]}' <<< '[null,false,123]'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: [null,false,123]
json: error: <stdin>:1:12:            ^
[null,false
command failed: json -d '{"type":"array","args":["type","type"]}' <<< '[null,false,123]'
$ json -d '{"type":"array","args":["type","null"]}' <<< '[null,null,null]'
json: error: <stdin>:1:11: type check error: too many arguments
json: error: <stdin>:1:11: [null,null,null]
json: error: <stdin>:1:11:           ^
[null,null
command failed: json -d '{"type":"array","args":["type","null"]}' <<< '[null,null,null]'
$ json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,true,false]'
json: error: <stdin>:1:12: type check error: too many arguments
json: error: <stdin>:1:12: [false,true,false]
json: error: <stdin>:1:12:            ^
[false,true
command failed: json -d '{"type":"array","args":["type","boolean"]}' <<< '[false,true,false]'
$ json -d '{"type":"array","args":["type","number"]}' <<< '[123,456,789]'
json: error: <stdin>:1:9: type check error: too many arguments
json: error: <stdin>:1:9: [123,456,789]
json: error: <stdin>:1:9:         ^
[123,456
command failed: json -d '{"type":"array","args":["type","number"]}' <<< '[123,456,789]'
$ json -d '{"type":"array","args":["type","string"]}' <<< '["foo","bar","baz"]'
json: error: <stdin>:1:13: type check error: too many arguments
json: error: <stdin>:1:13: ["foo","bar","baz"]
json: error: <stdin>:1:13:             ^
["foo","bar"
command failed: json -d '{"type":"array","args":["type","string"]}' <<< '["foo","bar","baz"]'
$ json -d '{"type":"array","args":["type","object"]}' <<< '[{},{"foo":1},{"foo":1,"bar":2}]'
json: error: <stdin>:1:14: type check error: too many arguments
json: error: <stdin>:1:14: [{},{"foo":1},{"foo":1,"bar":2}]
json: error: <stdin>:1:14:              ^
[{},{"foo":1}
command failed: json -d '{"type":"array","args":["type","object"]}' <<< '[{},{"foo":1},{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":["type","array"]}' <<< '[[],[[]],[[[]]]]'
json: error: <stdin>:1:9: type check error: too many arguments
json: error: <stdin>:1:9: [[],[[]],[[[]]]]
json: error: <stdin>:1:9:         ^
[[],[[]]
command failed: json -d '{"type":"array","args":["type","array"]}' <<< '[[],[[]],[[[]]]]'
$

--[ closed-array9 ]-------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='null'; v1='false';; null) v0='null'; v1='null';; boolean) v0='false'; v1='true';; number) v0='123'; v1='456';; string) v0='"foo"'; v1='"bar"';; object) v0='{}'; v1='{"foo":1}';; array) v0='[]'; v1='[[]]';; esac; for v2 in null false true 123 '"baz"' '{}' '[]'; do t2='{"type":"array","args":["type","type","'$t'"]}'; c="json -d '$t2' <<< '[$v0,$v1,$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":["type","type","type"]}' <<< '[null,false,null]'
[null,false,null]
$ json -d '{"type":"array","args":["type","type","type"]}' <<< '[null,false,false]'
[null,false,false]
$ json -d '{"type":"array","args":["type","type","type"]}' <<< '[null,false,true]'
[null,false,true]
$ json -d '{"type":"array","args":["type","type","type"]}' <<< '[null,false,123]'
[null,false,123]
$ json -d '{"type":"array","args":["type","type","type"]}' <<< '[null,false,"baz"]'
[null,false,"baz"]
$ json -d '{"type":"array","args":["type","type","type"]}' <<< '[null,false,{}]'
[null,false,{}]
$ json -d '{"type":"array","args":["type","type","type"]}' <<< '[null,false,[]]'
[null,false,[]]
$ json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,null]'
[null,null,null]
$ json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,false]'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:12: [null,null,false]
json: error: <stdin>:1:12:            ^
[null,null,
command failed: json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,false]'
$ json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,true]'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:12: [null,null,true]
json: error: <stdin>:1:12:            ^
[null,null,
command failed: json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,true]'
$ json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,123]'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:12: [null,null,123]
json: error: <stdin>:1:12:            ^
[null,null,
command failed: json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,123]'
$ json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,"baz"]'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:12: [null,null,"baz"]
json: error: <stdin>:1:12:            ^
[null,null,
command failed: json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,"baz"]'
$ json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,{}]'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:12: [null,null,{}]
json: error: <stdin>:1:12:            ^
[null,null,
command failed: json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,{}]'
$ json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,[]]'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:12: [null,null,[]]
json: error: <stdin>:1:12:            ^
[null,null,
command failed: json -d '{"type":"array","args":["type","type","null"]}' <<< '[null,null,[]]'
$ json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,null]'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:13: [false,true,null]
json: error: <stdin>:1:13:             ^
[false,true,
command failed: json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,null]'
$ json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,false]'
[false,true,false]
$ json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,true]'
[false,true,true]
$ json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,123]'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:13: [false,true,123]
json: error: <stdin>:1:13:             ^
[false,true,
command failed: json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,123]'
$ json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,"baz"]'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:13: [false,true,"baz"]
json: error: <stdin>:1:13:             ^
[false,true,
command failed: json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,"baz"]'
$ json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,{}]'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:13: [false,true,{}]
json: error: <stdin>:1:13:             ^
[false,true,
command failed: json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,{}]'
$ json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,[]]'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:13: [false,true,[]]
json: error: <stdin>:1:13:             ^
[false,true,
command failed: json -d '{"type":"array","args":["type","type","boolean"]}' <<< '[false,true,[]]'
$ json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,null]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:10: [123,456,null]
json: error: <stdin>:1:10:          ^
[123,456,
command failed: json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,null]'
$ json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,false]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:10: [123,456,false]
json: error: <stdin>:1:10:          ^
[123,456,
command failed: json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,false]'
$ json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,true]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:10: [123,456,true]
json: error: <stdin>:1:10:          ^
[123,456,
command failed: json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,true]'
$ json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,123]'
[123,456,123]
$ json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,"baz"]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:10: [123,456,"baz"]
json: error: <stdin>:1:10:          ^
[123,456,
command failed: json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,"baz"]'
$ json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,{}]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:10: [123,456,{}]
json: error: <stdin>:1:10:          ^
[123,456,
command failed: json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,{}]'
$ json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,[]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:10: [123,456,[]]
json: error: <stdin>:1:10:          ^
[123,456,
command failed: json -d '{"type":"array","args":["type","type","number"]}' <<< '[123,456,[]]'
$ json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",null]'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:14: ["foo","bar",null]
json: error: <stdin>:1:14:              ^
["foo","bar",
command failed: json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",null]'
$ json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",false]'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:14: ["foo","bar",false]
json: error: <stdin>:1:14:              ^
["foo","bar",
command failed: json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",false]'
$ json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",true]'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:14: ["foo","bar",true]
json: error: <stdin>:1:14:              ^
["foo","bar",
command failed: json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",true]'
$ json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",123]'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:14: ["foo","bar",123]
json: error: <stdin>:1:14:              ^
["foo","bar",
command failed: json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",123]'
$ json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar","baz"]'
["foo","bar","baz"]
$ json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",{}]'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:14: ["foo","bar",{}]
json: error: <stdin>:1:14:              ^
["foo","bar",
command failed: json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",{}]'
$ json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",[]]'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:14: ["foo","bar",[]]
json: error: <stdin>:1:14:              ^
["foo","bar",
command failed: json -d '{"type":"array","args":["type","type","string"]}' <<< '["foo","bar",[]]'
$ json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},null]'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: [{},{"foo":1},null]
json: error: <stdin>:1:15:               ^
[{},{"foo":1},
command failed: json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},null]'
$ json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},false]'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: [{},{"foo":1},false]
json: error: <stdin>:1:15:               ^
[{},{"foo":1},
command failed: json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},false]'
$ json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},true]'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: [{},{"foo":1},true]
json: error: <stdin>:1:15:               ^
[{},{"foo":1},
command failed: json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},true]'
$ json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},123]'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: [{},{"foo":1},123]
json: error: <stdin>:1:15:               ^
[{},{"foo":1},
command failed: json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},123]'
$ json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},"baz"]'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: [{},{"foo":1},"baz"]
json: error: <stdin>:1:15:               ^
[{},{"foo":1},
command failed: json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},"baz"]'
$ json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},{}]'
[{},{"foo":1},{}]
$ json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},[]]'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:15: [{},{"foo":1},[]]
json: error: <stdin>:1:15:               ^
[{},{"foo":1},
command failed: json -d '{"type":"array","args":["type","type","object"]}' <<< '[{},{"foo":1},[]]'
$ json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],null]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:10: [[],[[]],null]
json: error: <stdin>:1:10:          ^
[[],[[]],
command failed: json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],null]'
$ json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],false]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:10: [[],[[]],false]
json: error: <stdin>:1:10:          ^
[[],[[]],
command failed: json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],false]'
$ json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],true]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:10: [[],[[]],true]
json: error: <stdin>:1:10:          ^
[[],[[]],
command failed: json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],true]'
$ json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],123]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:10: [[],[[]],123]
json: error: <stdin>:1:10:          ^
[[],[[]],
command failed: json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],123]'
$ json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],"baz"]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:10: [[],[[]],"baz"]
json: error: <stdin>:1:10:          ^
[[],[[]],
command failed: json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],"baz"]'
$ json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],{}]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:10: [[],[[]],{}]
json: error: <stdin>:1:10:          ^
[[],[[]],
command failed: json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],{}]'
$ json -d '{"type":"array","args":["type","type","array"]}' <<< '[[],[[]],[]]'
[[],[[]],[]]
$

--[ closed-array10 ]------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"foo"'; do for v2 in null false true 123 '"foo"' '{}' '[]'; do t='{"type":"array","args":[{"plain":'"$v1"'}]}'; c="json -d '$t' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":[{"plain":null}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"plain":null}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":null}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"plain":null}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":null}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"plain":null}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":null}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"plain":null}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":null}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"plain":null}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":null}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"plain":null}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":null}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"plain":false}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":false}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"plain":false}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"plain":false}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":false}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"plain":false}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":false}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"plain":false}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":false}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"plain":false}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":false}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"plain":false}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":false}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"plain":true}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":true}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"plain":true}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":true}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"plain":true}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"plain":true}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":true}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"plain":true}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":true}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"plain":true}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":true}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"plain":true}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":true}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"plain":123}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":123}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"plain":123}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":123}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"plain":123}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":123}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"plain":123}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"plain":123}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":123}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"plain":123}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":123}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"plain":123}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":123}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"plain":"foo"}]}' <<< '[[]]'
$

--[ closed-array11 ]------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"foo"'; do for v2 in null false true 123 '"foo"' '{}' '[]'; do t='{"type":"array","args":["type",{"plain":'"$v1"'}]}'; c="json -d '$t' <<< '[$v1,$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,false]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,false]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,false]'
$ json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,true]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,true]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,true]'
$ json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,123]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,123]'
$ json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,"foo"]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,"foo"]'
$ json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,{}]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,{}]'
$ json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,[]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":null}'
json: error: <stdin>:1:7: [null,[]]
json: error: <stdin>:1:7:       ^
[null,
command failed: json -d '{"type":"array","args":["type",{"plain":null}]}' <<< '[null,[]]'
$ json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,null]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,null]'
$ json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,true]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,true]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,true]'
$ json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,123]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,123]'
$ json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,"foo"]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,"foo"]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,"foo"]'
$ json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,{}]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,{}]'
$ json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,[]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":false}'
json: error: <stdin>:1:8: [false,[]]
json: error: <stdin>:1:8:        ^
[false,
command failed: json -d '{"type":"array","args":["type",{"plain":false}]}' <<< '[false,[]]'
$ json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,null]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,null]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,null]'
$ json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,false]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,false]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,false]'
$ json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,123]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,123]'
$ json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,"foo"]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,"foo"]'
$ json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,{}]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,{}]'
$ json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,[]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"plain":true}'
json: error: <stdin>:1:7: [true,[]]
json: error: <stdin>:1:7:       ^
[true,
command failed: json -d '{"type":"array","args":["type",{"plain":true}]}' <<< '[true,[]]'
$ json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,null]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,null]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,null]'
$ json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,false]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,false]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,false]'
$ json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,true]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,true]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,true]'
$ json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,"foo"]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,"foo"]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,"foo"]'
$ json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,{}]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,{}]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,{}]'
$ json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,[]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `{"plain":123}'
json: error: <stdin>:1:6: [123,[]]
json: error: <stdin>:1:6:      ^
[123,
command failed: json -d '{"type":"array","args":["type",{"plain":123}]}' <<< '[123,[]]'
$ json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",null]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",null]'
$ json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",false]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",false]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",false]'
$ json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",true]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",true]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",true]'
$ json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",123]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",123]'
$ json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo","foo"]'
["foo","foo"]
$ json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",{}]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",{}]'
$ json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",[]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"plain":"foo"}'
json: error: <stdin>:1:8: ["foo",[]]
json: error: <stdin>:1:8:        ^
["foo",
command failed: json -d '{"type":"array","args":["type",{"plain":"foo"}]}' <<< '["foo",[]]'
$

--[ object-closed-array ]-------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["'"$t"'"]}}]}'; c="json -d '$t2' <<< '{\"foo\":[$v]}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[true]}'
{"foo":[true]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[123]}'
{"foo":[123]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[true]}'
{"foo":[true]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[123]}'
{"foo":[123]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$

--[ object-closed-array2 ]------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["'"$t"'","'"$t"'"]}}]}'; c="json -d '$t2' <<< '{\"foo\":[$v0,$v]}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],null]}'
{"foo":[[{}],null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],false]}'
{"foo":[[{}],false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],true]}'
{"foo":[[{}],true]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],123]}'
{"foo":[[{}],123]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],"bar"]}'
{"foo":[[{}],"bar"]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],{}]}'
{"foo":[[{}],{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],[]]}'
{"foo":[[{}],[]]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,null]}'
{"foo":[null,null]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,false]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,false]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,true]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,true]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,123]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,123]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,"bar"]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,"bar"]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,{}]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,{}]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,[]]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,[]]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,null]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,null]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,false]}'
{"foo":[false,false]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,true]}'
{"foo":[false,true]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,123]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,123]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,"bar"]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,"bar"]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,{}]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,{}]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,[]]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,[]]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,null]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,null]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,false]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,false]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,true]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,true]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,123]}'
{"foo":[456,123]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,"bar"]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,"bar"]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,{}]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,{}]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,[]]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,[]]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",null]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",null]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",false]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",false]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",true]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",true]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",123]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",123]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar","bar"]}'
{"foo":["bar","bar"]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",{}]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",{}]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",[]]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",[]]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},null]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},null]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},false]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},false]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},true]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},true]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},123]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},123]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},"bar"]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},"bar"]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},{}]}'
{"foo":[{},{}]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},[]]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},[]]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},[]]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],null]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],null]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],null]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],false]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],false]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],false]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],true]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],true]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],true]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],123]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],123]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],123]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],"bar"]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],"bar"]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],"bar"]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],{}]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],{}]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],{}]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],[]]}'
{"foo":[[],[]]}
$

--[ dict-closed-array ]---------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["'"$t"'"]}}]}'; c="json -d '$t2' <<< '{\"foo\":[$v]}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[true]}'
{"foo":[true]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[123]}'
{"foo":[123]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type"]}}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[null]}'
{"foo":[null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[false]}'
{"foo":[false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[true]}'
{"foo":[true]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[123]}'
{"foo":[123]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":["bar"]}'
{"foo":["bar"]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[{}]}'
{"foo":[{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[[]]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:9: {"foo":[[]]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object"]}}]}' <<< '{"foo":[[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[null]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[null]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[false]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[false]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[true]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[true]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[123]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[123]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":["bar"]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":["bar"]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":["bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[{}]}'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:9: {"foo":[{}]}
json: error: <stdin>:1:9:         ^
{"foo":[
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array"]}}]}' <<< '{"foo":[[]]}'
{"foo":[[]]}
$

--[ dict-closed-array2 ]--------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["'"$t"'","'"$t"'"]}}]}'; c="json -d '$t2' <<< '{\"foo\":[$v0,$v]}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],null]}'
{"foo":[[{}],null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],false]}'
{"foo":[[{}],false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],true]}'
{"foo":[[{}],true]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],123]}'
{"foo":[[{}],123]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],"bar"]}'
{"foo":[[{}],"bar"]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],{}]}'
{"foo":[[{}],{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["type","type"]}}]}' <<< '{"foo":[[{}],[]]}'
{"foo":[[{}],[]]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,null]}'
{"foo":[null,null]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,false]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,false]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,true]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,true]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,123]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,123]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,"bar"]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,"bar"]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,{}]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,{}]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,[]]}'
json: error: <stdin>:1:14: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:14: {"foo":[null,[]]}
json: error: <stdin>:1:14:              ^
{"foo":[null,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["null","null"]}}]}' <<< '{"foo":[null,[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,null]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,null]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,false]}'
{"foo":[false,false]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,true]}'
{"foo":[false,true]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,123]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,123]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,"bar"]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,"bar"]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,{}]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,{}]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,[]]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:15: {"foo":[false,[]]}
json: error: <stdin>:1:15:               ^
{"foo":[false,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["boolean","boolean"]}}]}' <<< '{"foo":[false,[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,null]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,null]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,false]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,false]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,true]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,true]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,123]}'
{"foo":[456,123]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,"bar"]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,"bar"]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,{}]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,{}]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,[]]}'
json: error: <stdin>:1:13: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:13: {"foo":[456,[]]}
json: error: <stdin>:1:13:             ^
{"foo":[456,
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["number","number"]}}]}' <<< '{"foo":[456,[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",null]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",null]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",false]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",false]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",true]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",true]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",123]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",123]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar","bar"]}'
{"foo":["bar","bar"]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",{}]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",{}]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",[]]}'
json: error: <stdin>:1:15: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:15: {"foo":["bar",[]]}
json: error: <stdin>:1:15:               ^
{"foo":["bar",
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["string","string"]}}]}' <<< '{"foo":["bar",[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},null]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},null]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},false]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},false]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},true]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},true]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},123]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},123]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},"bar"]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},"bar"]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},{}]}'
{"foo":[{},{}]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},[]]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:12: {"foo":[{},[]]}
json: error: <stdin>:1:12:            ^
{"foo":[{},
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["object","object"]}}]}' <<< '{"foo":[{},[]]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],null]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],null]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],null]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],false]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],false]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],false]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],true]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],true]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],true]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],123]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],123]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],123]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],"bar"]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],"bar"]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],"bar"]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],{}]}'
json: error: <stdin>:1:12: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:12: {"foo":[[],{}]}
json: error: <stdin>:1:12:            ^
{"foo":[[],
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],{}]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"array","args":["array","array"]}}]}' <<< '{"foo":[[],[]]}'
{"foo":[[],[]]}
$

--[ closed-array-object ]-------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":[{"type":"object","args":[]}]}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[{"foo":1}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[{"foo":1}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[{"foo":1,"bar":2}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1,"bar":2}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[]}]}' <<< '[[]]'
$

--[ closed-array-object2 ]------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[{}]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [{}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1}]'
[{"foo":1}]
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1,"bar":2}]'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: [{"foo":1,"bar":2}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"}]}]}' <<< '[[]]'
$

--[ closed-array-object3 ]------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{}]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [{}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1}]'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: [{"foo":1}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1,"bar":2}]'
[{"foo":1,"bar":2}]
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:18: type check error: too many arguments
json: error: <stdin>:1:18: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:18:                  ^
[{"foo":1,"bar":2
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"object","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[[]]'
$

--[ closed-array-dict ]---------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":[{"type":"dict","args":[]}]}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[{"foo":1}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[{"foo":1}]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[{"foo":1,"bar":2}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1,"bar":2}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:3: type check error: too many arguments
json: error: <stdin>:1:3: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:3:   ^
[{
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[]}]}' <<< '[[]]'
$

--[ closed-array-dict2 ]--------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1}]'
[{"foo":1}]
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1,"bar":2}]'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: [{"foo":1,"bar":2}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1,"bar":2}]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:10: type check error: too many arguments
json: error: <stdin>:1:10: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:10:          ^
[{"foo":1
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"}]}]}' <<< '[[]]'
$

--[ closed-array-dict3 ]--------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '{"foo":1}' '{"foo":1,"bar":2}' '{"foo":1,"bar":2,"baz":3}' '[]'; do t='{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}'; c="json -d '$t' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1}]'
[{"foo":1}]
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1,"bar":2}]'
[{"foo":1,"bar":2}]
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
json: error: <stdin>:1:18: type check error: too many arguments
json: error: <stdin>:1:18: [{"foo":1,"bar":2,"baz":3}]
json: error: <stdin>:1:18:                  ^
[{"foo":1,"bar":2
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[{"foo":1,"bar":2,"baz":3}]'
$ json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"dict","args":[{"name":"foo","type":"number"},{"name":"bar","type":"number"}]}]}' <<< '[[]]'
$

--[ closed-array-closed-array ]-------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do for f in '%s' '[%s]'; do t2='{"type":"array","args":[{"type":"array","args":["'"$t"'"]}]}'; printf -v v2 "$f" "$v"; c="json -d '$t2' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[[]]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [[]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]}]}' <<< '[[[]]]'
[[[]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[]]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [[]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [[]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[]]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [[]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[]]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [[]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[]]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [[]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[]]'
json: error: <stdin>:1:3: type check error: too few arguments
json: error: <stdin>:1:3: [[]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]}]}' <<< '[[[]]]'
[[[]]]
$

--[ closed-array-closed-array2 ]------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"foo"' '{}' '[]'; do for f in '%s' '[%s]'; do t2='{"type":"array","args":[{"type":"array","args":["'"$t"'"]},{"type":"array","args":["'"$t"'"]}]}'; printf -v v2 "$f" "$v"; c="json -d '$t2' <<< '[[$v0],[$v2]]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[null]]'
[[[{}]],[null]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[[null]]]'
[[[{}]],[[null]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[false]]'
[[[{}]],[false]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[[false]]]'
[[[{}]],[[false]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[true]]'
[[[{}]],[true]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[[true]]]'
[[[{}]],[[true]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[123]]'
[[[{}]],[123]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[[123]]]'
[[[{}]],[[123]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],["foo"]]'
[[[{}]],["foo"]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[["foo"]]]'
[[[{}]],[["foo"]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[{}]]'
[[[{}]],[{}]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[[{}]]]'
[[[{}]],[[{}]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[[]]]'
[[[{}]],[[]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["type"]},{"type":"array","args":["type"]}]}' <<< '[[[{}]],[[[]]]]'
[[[{}]],[[[]]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[null]]'
[[null],[null]]
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[null]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[null]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[null]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[false]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[false]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[false]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[false]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[false]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[true]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[true]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[true]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[true]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[true]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[123]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[123]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[123]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[123]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[123]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],["foo"]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],["foo"]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[["foo"]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[["foo"]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[["foo"]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[{}]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[{}]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[{}]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[{}]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[{}]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[[]]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[[]]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["null"]},{"type":"array","args":["null"]}]}' <<< '[[null],[[[]]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[null]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[null]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[null]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[null]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[null]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[false]]'
[[false],[false]]
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[false]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[false]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[false]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[true]]'
[[false],[true]]
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[true]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[true]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[true]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[123]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[123]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[123]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[123]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[123]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],["foo"]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],["foo"]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[["foo"]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[["foo"]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[["foo"]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[{}]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[{}]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[{}]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[{}]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[{}]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[[]]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[[]]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["boolean"]},{"type":"array","args":["boolean"]}]}' <<< '[[false],[[[]]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[null]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[null]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[null]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[null]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[null]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[false]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[false]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[false]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[false]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[false]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[true]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[true]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[true]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[true]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[true]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[123]]'
[[456],[123]]
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[123]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[123]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[123]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],["foo"]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],["foo"]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[["foo"]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[["foo"]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[["foo"]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[{}]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[{}]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[{}]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[{}]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[{}]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[[]]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[[]]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["number"]},{"type":"array","args":["number"]}]}' <<< '[[456],[[[]]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[null]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[null]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[null]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[null]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[null]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[false]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[false]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[false]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[false]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[false]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[true]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[true]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[true]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[true]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[true]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[123]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[123]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[123]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[123]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[123]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],["foo"]]'
[["bar"],["foo"]]
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[["foo"]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[["foo"]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[["foo"]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[{}]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[{}]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[{}]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[{}]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[{}]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[[]]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[[]]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["string"]},{"type":"array","args":["string"]}]}' <<< '[["bar"],[[[]]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[null]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[null]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[null]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[null]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[null]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[false]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[false]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[false]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[false]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[false]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[true]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[true]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[true]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[true]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[true]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[123]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[123]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[123]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[123]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[123]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],["foo"]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],["foo"]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[["foo"]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[["foo"]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[["foo"]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[{}]]'
[[{}],[{}]]
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[{}]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[{}]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[{}]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[[]]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[[]]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["object"]},{"type":"array","args":["object"]}]}' <<< '[[{}],[[[]]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[null]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[null]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[[null]]]'
[[[]],[[null]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[false]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[false]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[[false]]]'
[[[]],[[false]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[true]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[true]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[[true]]]'
[[[]],[[true]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[123]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[123]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[[123]]]'
[[[]],[[123]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],["foo"]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],["foo"]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[["foo"]]]'
[[[]],[["foo"]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[{}]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[{}]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[[{}]]]'
[[[]],[[{}]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[[]]]'
[[[]],[[]]]
$ json -d '{"type":"array","args":[{"type":"array","args":["array"]},{"type":"array","args":["array"]}]}' <<< '[[[]],[[[]]]]'
[[[]],[[[]]]]
$

--[ closed-array-open-array ]---------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in '' '[]'; do t2='{"type":"array","args":[{"type":"array","args":"'"$t"'"}]}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[]'
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[]'
json: error: <stdin>:1:2: type check error: too few arguments
json: error: <stdin>:1:2: []
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[]]'
[[]]
$

--[ closed-array-open-array2 ]--------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":[{"type":"array","args":"'"$t"'"}]}'; c="json -d '$t2' <<< '[[$v]]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[[]]]'
[[[]]]
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[]]]'
[[[]]]
$

--[ closed-array-open-array3 ]--------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"array","args":[{"type":"array","args":"'"$t"'"}]}'; c="json -d '$t2' <<< '[[$v0,$v]]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[[{}],null]]'
[[[{}],null]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[[{}],false]]'
[[[{}],false]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[[{}],true]]'
[[[{}],true]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[[{}],123]]'
[[[{}],123]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[[{}],"foo"]]'
[[[{}],"foo"]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[[{}],{}]]'
[[[{}],{}]]
$ json -d '{"type":"array","args":[{"type":"array","args":"type"}]}' <<< '[[[{}],[]]]'
[[[{}],[]]]
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,null]]'
[[null,null]]
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,false]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: [[null,false]]
json: error: <stdin>:1:8:        ^
[[null,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,true]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: [[null,true]]
json: error: <stdin>:1:8:        ^
[[null,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,123]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: [[null,123]]
json: error: <stdin>:1:8:        ^
[[null,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,"foo"]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: [[null,"foo"]]
json: error: <stdin>:1:8:        ^
[[null,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,"foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,{}]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: [[null,{}]]
json: error: <stdin>:1:8:        ^
[[null,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,[]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:8: [[null,[]]]
json: error: <stdin>:1:8:        ^
[[null,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"null"}]}' <<< '[[null,[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,null]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: [[false,null]]
json: error: <stdin>:1:9:         ^
[[false,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,false]]'
[[false,false]]
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,true]]'
[[false,true]]
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,123]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: [[false,123]]
json: error: <stdin>:1:9:         ^
[[false,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,"foo"]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: [[false,"foo"]]
json: error: <stdin>:1:9:         ^
[[false,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,"foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,{}]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: [[false,{}]]
json: error: <stdin>:1:9:         ^
[[false,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,[]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:9: [[false,[]]]
json: error: <stdin>:1:9:         ^
[[false,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"boolean"}]}' <<< '[[false,[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,null]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:7: [[456,null]]
json: error: <stdin>:1:7:       ^
[[456,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,false]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:7: [[456,false]]
json: error: <stdin>:1:7:       ^
[[456,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,true]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:7: [[456,true]]
json: error: <stdin>:1:7:       ^
[[456,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,123]]'
[[456,123]]
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,"foo"]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:7: [[456,"foo"]]
json: error: <stdin>:1:7:       ^
[[456,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,"foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,{}]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:7: [[456,{}]]
json: error: <stdin>:1:7:       ^
[[456,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,[]]]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:7: [[456,[]]]
json: error: <stdin>:1:7:       ^
[[456,
command failed: json -d '{"type":"array","args":[{"type":"array","args":"number"}]}' <<< '[[456,[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",null]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: [["bar",null]]
json: error: <stdin>:1:9:         ^
[["bar",
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",false]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: [["bar",false]]
json: error: <stdin>:1:9:         ^
[["bar",
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",true]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: [["bar",true]]
json: error: <stdin>:1:9:         ^
[["bar",
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",123]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: [["bar",123]]
json: error: <stdin>:1:9:         ^
[["bar",
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar","foo"]]'
[["bar","foo"]]
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",{}]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: [["bar",{}]]
json: error: <stdin>:1:9:         ^
[["bar",
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",[]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:9: [["bar",[]]]
json: error: <stdin>:1:9:         ^
[["bar",
command failed: json -d '{"type":"array","args":[{"type":"array","args":"string"}]}' <<< '[["bar",[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},null]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:6: [[{},null]]
json: error: <stdin>:1:6:      ^
[[{},
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},false]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:6: [[{},false]]
json: error: <stdin>:1:6:      ^
[[{},
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},true]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:6: [[{},true]]
json: error: <stdin>:1:6:      ^
[[{},
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},123]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:6: [[{},123]]
json: error: <stdin>:1:6:      ^
[[{},
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},"foo"]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:6: [[{},"foo"]]
json: error: <stdin>:1:6:      ^
[[{},
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},"foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},{}]]'
[[{},{}]]
$ json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},[]]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:6: [[{},[]]]
json: error: <stdin>:1:6:      ^
[[{},
command failed: json -d '{"type":"array","args":[{"type":"array","args":"object"}]}' <<< '[[{},[]]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],null]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:6: [[[],null]]
json: error: <stdin>:1:6:      ^
[[[],
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],null]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],false]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:6: [[[],false]]
json: error: <stdin>:1:6:      ^
[[[],
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],false]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],true]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:6: [[[],true]]
json: error: <stdin>:1:6:      ^
[[[],
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],true]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],123]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:6: [[[],123]]
json: error: <stdin>:1:6:      ^
[[[],
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],123]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],"foo"]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:6: [[[],"foo"]]
json: error: <stdin>:1:6:      ^
[[[],
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],"foo"]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],{}]]'
json: error: <stdin>:1:6: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:6: [[[],{}]]
json: error: <stdin>:1:6:      ^
[[[],
command failed: json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],{}]]'
$ json -d '{"type":"array","args":[{"type":"array","args":"array"}]}' <<< '[[[],[]]]'
[[[],[]]]
$

--[ open-array-closed-array ]---------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do for f in '' '[%s]'; do t2='{"type":"array","args":{"type":"array","args":["'"$t"'"]}}'; printf -v v2 "$f" "$v"; c="json -d '$t2' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[]]]'
[[[]]]
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null]]'
[[null]]
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false]]'
[[false]]
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[true]]'
[[true]]
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[123]]'
[[123]]
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["foo"]]'
[["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}]]'
[[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[[]]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:3: [[[]]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]]]'
[[[]]]
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[null]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[null]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[false]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[false]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[true]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[true]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[123]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[123]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[["foo"]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [["foo"]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[{}]]'
json: error: <stdin>:1:3: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:3: [[{}]]
json: error: <stdin>:1:3:   ^
[[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]]]'
[[[]]]
$

--[ open-array-closed-array2 ]--------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do case "$t" in type) v0='[{}]';; null) v0='null';; boolean) v0='false';; number) v0='456';; string) v0='"bar"';; object) v0='{}';; array) v0='[]';; esac; for v in null false true 123 '"foo"' '{}' '[]'; do for f in '%s' '[%s]'; do t2='{"type":"array","args":{"type":"array","args":["'"$t"'"]}}'; printf -v v2 "$f" "$v"; c="json -d '$t2' <<< '[[$v0],$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],null]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:9: [[[{}]],null]
json: error: <stdin>:1:9:         ^
[[[{}]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],null]'
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],[null]]'
[[[{}]],[null]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],false]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:9: [[[{}]],false]
json: error: <stdin>:1:9:         ^
[[[{}]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],false]'
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],[false]]'
[[[{}]],[false]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],true]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:9: [[[{}]],true]
json: error: <stdin>:1:9:         ^
[[[{}]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],true]'
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],[true]]'
[[[{}]],[true]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],123]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:9: [[[{}]],123]
json: error: <stdin>:1:9:         ^
[[[{}]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],123]'
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],[123]]'
[[[{}]],[123]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],"foo"]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:9: [[[{}]],"foo"]
json: error: <stdin>:1:9:         ^
[[[{}]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],"foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],["foo"]]'
[[[{}]],["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],{}]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["type"]}'
json: error: <stdin>:1:9: [[[{}]],{}]
json: error: <stdin>:1:9:         ^
[[[{}]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],{}]'
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],[{}]]'
[[[{}]],[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],[]]'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: [[[{}]],[]]
json: error: <stdin>:1:10:          ^
[[[{}]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],[]]'
$ json -d '{"type":"array","args":{"type":"array","args":["type"]}}' <<< '[[[{}]],[[]]]'
[[[{}]],[[]]]
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],null]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:9: [[null],null]
json: error: <stdin>:1:9:         ^
[[null],
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],null]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[null]]'
[[null],[null]]
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],false]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:9: [[null],false]
json: error: <stdin>:1:9:         ^
[[null],
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],false]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[false]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[false]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],true]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:9: [[null],true]
json: error: <stdin>:1:9:         ^
[[null],
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],true]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[true]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[true]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],123]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:9: [[null],123]
json: error: <stdin>:1:9:         ^
[[null],
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],123]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[123]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[123]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],"foo"]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:9: [[null],"foo"]
json: error: <stdin>:1:9:         ^
[[null],
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],"foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],["foo"]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],["foo"]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],{}]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `{"type":"array","args":["null"]}'
json: error: <stdin>:1:9: [[null],{}]
json: error: <stdin>:1:9:         ^
[[null],
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],{}]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[{}]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[{}]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[]]'
json: error: <stdin>:1:10: type check error: too few arguments
json: error: <stdin>:1:10: [[null],[]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[]]'
$ json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[[]]]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `"null"'
json: error: <stdin>:1:10: [[null],[[]]]
json: error: <stdin>:1:10:          ^
[[null],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["null"]}}' <<< '[[null],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],null]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:10: [[false],null]
json: error: <stdin>:1:10:          ^
[[false],
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],null]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[null]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[null]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],false]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:10: [[false],false]
json: error: <stdin>:1:10:          ^
[[false],
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],false]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[false]]'
[[false],[false]]
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],true]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:10: [[false],true]
json: error: <stdin>:1:10:          ^
[[false],
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],true]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[true]]'
[[false],[true]]
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],123]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:10: [[false],123]
json: error: <stdin>:1:10:          ^
[[false],
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],123]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[123]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[123]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],"foo"]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:10: [[false],"foo"]
json: error: <stdin>:1:10:          ^
[[false],
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],"foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],["foo"]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],["foo"]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],{}]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["boolean"]}'
json: error: <stdin>:1:10: [[false],{}]
json: error: <stdin>:1:10:          ^
[[false],
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],{}]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[{}]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[{}]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[]]'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: [[false],[]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[]]'
$ json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[[]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"boolean"'
json: error: <stdin>:1:11: [[false],[[]]]
json: error: <stdin>:1:11:           ^
[[false],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["boolean"]}}' <<< '[[false],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],null]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:8: [[456],null]
json: error: <stdin>:1:8:        ^
[[456],
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],null]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[null]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[null]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],false]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:8: [[456],false]
json: error: <stdin>:1:8:        ^
[[456],
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],false]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[false]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[false]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],true]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:8: [[456],true]
json: error: <stdin>:1:8:        ^
[[456],
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],true]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[true]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[true]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],123]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:8: [[456],123]
json: error: <stdin>:1:8:        ^
[[456],
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],123]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[123]]'
[[456],[123]]
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],"foo"]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:8: [[456],"foo"]
json: error: <stdin>:1:8:        ^
[[456],
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],"foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],["foo"]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],["foo"]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],{}]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"array","args":["number"]}'
json: error: <stdin>:1:8: [[456],{}]
json: error: <stdin>:1:8:        ^
[[456],
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],{}]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[{}]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[{}]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[]]'
json: error: <stdin>:1:9: type check error: too few arguments
json: error: <stdin>:1:9: [[456],[]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[]]'
$ json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[[]]]'
json: error: <stdin>:1:9: type check error: type mismatch: expected a value of type `"number"'
json: error: <stdin>:1:9: [[456],[[]]]
json: error: <stdin>:1:9:         ^
[[456],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["number"]}}' <<< '[[456],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],null]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:10: [["bar"],null]
json: error: <stdin>:1:10:          ^
[["bar"],
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],null]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[null]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[null]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],false]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:10: [["bar"],false]
json: error: <stdin>:1:10:          ^
[["bar"],
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],false]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[false]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[false]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],true]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:10: [["bar"],true]
json: error: <stdin>:1:10:          ^
[["bar"],
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],true]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[true]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[true]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],123]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:10: [["bar"],123]
json: error: <stdin>:1:10:          ^
[["bar"],
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],123]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[123]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[123]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],"foo"]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:10: [["bar"],"foo"]
json: error: <stdin>:1:10:          ^
[["bar"],
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],"foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],["foo"]]'
[["bar"],["foo"]]
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],{}]'
json: error: <stdin>:1:10: type check error: type mismatch: expected a value of type `{"type":"array","args":["string"]}'
json: error: <stdin>:1:10: [["bar"],{}]
json: error: <stdin>:1:10:          ^
[["bar"],
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],{}]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[{}]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[{}]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[]]'
json: error: <stdin>:1:11: type check error: too few arguments
json: error: <stdin>:1:11: [["bar"],[]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[]]'
$ json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[[]]]'
json: error: <stdin>:1:11: type check error: type mismatch: expected a value of type `"string"'
json: error: <stdin>:1:11: [["bar"],[[]]]
json: error: <stdin>:1:11:           ^
[["bar"],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["string"]}}' <<< '[["bar"],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],null]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:7: [[{}],null]
json: error: <stdin>:1:7:       ^
[[{}],
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],null]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[null]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[null]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],false]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:7: [[{}],false]
json: error: <stdin>:1:7:       ^
[[{}],
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],false]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[false]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[false]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],true]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:7: [[{}],true]
json: error: <stdin>:1:7:       ^
[[{}],
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],true]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[true]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[true]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:7: [[{}],123]
json: error: <stdin>:1:7:       ^
[[{}],
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],123]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[123]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[123]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:7: [[{}],"foo"]
json: error: <stdin>:1:7:       ^
[[{}],
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],"foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],["foo"]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],["foo"]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["object"]}'
json: error: <stdin>:1:7: [[{}],{}]
json: error: <stdin>:1:7:       ^
[[{}],
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],{}]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[{}]]'
[[{}],[{}]]
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[]]'
json: error: <stdin>:1:8: type check error: too few arguments
json: error: <stdin>:1:8: [[{}],[]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[]]'
$ json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[[]]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"object"'
json: error: <stdin>:1:8: [[{}],[[]]]
json: error: <stdin>:1:8:        ^
[[{}],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["object"]}}' <<< '[[{}],[[]]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],null]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:7: [[[]],null]
json: error: <stdin>:1:7:       ^
[[[]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],null]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[null]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[null]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[null]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],false]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:7: [[[]],false]
json: error: <stdin>:1:7:       ^
[[[]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],false]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[false]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[false]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[false]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],true]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:7: [[[]],true]
json: error: <stdin>:1:7:       ^
[[[]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],true]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[true]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[true]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[true]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],123]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:7: [[[]],123]
json: error: <stdin>:1:7:       ^
[[[]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],123]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[123]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[123]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[123]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],"foo"]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:7: [[[]],"foo"]
json: error: <stdin>:1:7:       ^
[[[]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],"foo"]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],["foo"]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],["foo"]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],["foo"]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],{}]'
json: error: <stdin>:1:7: type check error: type mismatch: expected a value of type `{"type":"array","args":["array"]}'
json: error: <stdin>:1:7: [[[]],{}]
json: error: <stdin>:1:7:       ^
[[[]],
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],{}]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[{}]]'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `"array"'
json: error: <stdin>:1:8: [[[]],[{}]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[{}]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[]]'
json: error: <stdin>:1:8: type check error: too few arguments
json: error: <stdin>:1:8: [[[]],[]]
json: error: <stdin>:1:8:        ^
[[[]],[
command failed: json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[]]'
$ json -d '{"type":"array","args":{"type":"array","args":["array"]}}' <<< '[[[]],[[]]]'
[[[]],[[]]]
$

--[ list ]----------------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"' '{}' '[]'; do t='{"type":"list","args":[]}'; c="json -d '$t' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"list","args":[]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[]}' <<< 'null'
$ json -d '{"type":"list","args":[]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[]}' <<< 'false'
$ json -d '{"type":"list","args":[]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[]}' <<< 'true'
$ json -d '{"type":"list","args":[]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[]}' <<< '123'
$ json -d '{"type":"list","args":[]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[]}' <<< '"foo"'
$ json -d '{"type":"list","args":[]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[]}' <<< '{}'
$ json -d '{"type":"list","args":[]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[]}' <<< '[]'
$

--[ list2 ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"foo"' '{}' '[]'; do t2='{"type":"list","args":["'$t'"]}'; c="json -d '$t2' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":["type"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["type"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["type"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["type"]}' <<< '123'
123
$ json -d '{"type":"list","args":["type"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["type"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["null"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["null"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null"]}' <<< 'false'
$ json -d '{"type":"list","args":["null"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null"]}' <<< 'true'
$ json -d '{"type":"list","args":["null"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null"]}' <<< '123'
$ json -d '{"type":"list","args":["null"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["null"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null"]}' <<< '{}'
$ json -d '{"type":"list","args":["null"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null"]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean"]}' <<< 'null'
$ json -d '{"type":"list","args":["boolean"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["boolean"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["boolean"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean"]}' <<< '123'
$ json -d '{"type":"list","args":["boolean"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["boolean"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean"]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean"]}' <<< '[]'
$ json -d '{"type":"list","args":["number"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number"]}' <<< 'null'
$ json -d '{"type":"list","args":["number"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number"]}' <<< 'false'
$ json -d '{"type":"list","args":["number"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number"]}' <<< 'true'
$ json -d '{"type":"list","args":["number"]}' <<< '123'
123
$ json -d '{"type":"list","args":["number"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["number"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number"]}' <<< '{}'
$ json -d '{"type":"list","args":["number"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number"]}' <<< '[]'
$ json -d '{"type":"list","args":["string"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string"]}' <<< 'null'
$ json -d '{"type":"list","args":["string"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string"]}' <<< 'false'
$ json -d '{"type":"list","args":["string"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string"]}' <<< 'true'
$ json -d '{"type":"list","args":["string"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string"]}' <<< '123'
$ json -d '{"type":"list","args":["string"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["string"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string"]}' <<< '{}'
$ json -d '{"type":"list","args":["string"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string"]}' <<< '[]'
$ json -d '{"type":"list","args":["object"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object"]}' <<< 'null'
$ json -d '{"type":"list","args":["object"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object"]}' <<< 'false'
$ json -d '{"type":"list","args":["object"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object"]}' <<< 'true'
$ json -d '{"type":"list","args":["object"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object"]}' <<< '123'
$ json -d '{"type":"list","args":["object"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["object"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object"]}' <<< '[]'
$ json -d '{"type":"list","args":["array"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array"]}' <<< 'null'
$ json -d '{"type":"list","args":["array"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array"]}' <<< 'false'
$ json -d '{"type":"list","args":["array"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array"]}' <<< 'true'
$ json -d '{"type":"list","args":["array"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array"]}' <<< '123'
$ json -d '{"type":"list","args":["array"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["array"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array"]}' <<< '{}'
$ json -d '{"type":"list","args":["array"]}' <<< '[]'
[]
$

--[ list3 ]---------------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for t2 in type null boolean number string object array; do test "$t" == "$t2" && continue; for v in null false true 123 '"foo"' '{}' '[]'; do t3='{"type":"list","args":["'$t'","'$t2'"]}'; c="json -d '$t3' <<< '$v'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":["type","null"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["type","null"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["type","null"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["type","null"]}' <<< '123'
123
$ json -d '{"type":"list","args":["type","null"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["type","null"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type","null"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type","boolean"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["type","boolean"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["type","boolean"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["type","boolean"]}' <<< '123'
123
$ json -d '{"type":"list","args":["type","boolean"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["type","boolean"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type","boolean"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type","number"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["type","number"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["type","number"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["type","number"]}' <<< '123'
123
$ json -d '{"type":"list","args":["type","number"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["type","number"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type","number"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type","string"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["type","string"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["type","string"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["type","string"]}' <<< '123'
123
$ json -d '{"type":"list","args":["type","string"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["type","string"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type","string"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type","object"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["type","object"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["type","object"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["type","object"]}' <<< '123'
123
$ json -d '{"type":"list","args":["type","object"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["type","object"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type","object"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["type","array"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["type","array"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["type","array"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["type","array"]}' <<< '123'
123
$ json -d '{"type":"list","args":["type","array"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["type","array"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["type","array"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["null","type"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["null","type"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["null","type"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["null","type"]}' <<< '123'
123
$ json -d '{"type":"list","args":["null","type"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["null","type"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["null","type"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["null","boolean"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["null","boolean"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["null","boolean"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["null","boolean"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","boolean"]}' <<< '123'
$ json -d '{"type":"list","args":["null","boolean"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","boolean"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["null","boolean"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","boolean"]}' <<< '{}'
$ json -d '{"type":"list","args":["null","boolean"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","boolean"]}' <<< '[]'
$ json -d '{"type":"list","args":["null","number"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["null","number"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","number"]}' <<< 'false'
$ json -d '{"type":"list","args":["null","number"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","number"]}' <<< 'true'
$ json -d '{"type":"list","args":["null","number"]}' <<< '123'
123
$ json -d '{"type":"list","args":["null","number"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","number"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["null","number"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","number"]}' <<< '{}'
$ json -d '{"type":"list","args":["null","number"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","number"]}' <<< '[]'
$ json -d '{"type":"list","args":["null","string"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["null","string"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","string"]}' <<< 'false'
$ json -d '{"type":"list","args":["null","string"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","string"]}' <<< 'true'
$ json -d '{"type":"list","args":["null","string"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","string"]}' <<< '123'
$ json -d '{"type":"list","args":["null","string"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["null","string"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","string"]}' <<< '{}'
$ json -d '{"type":"list","args":["null","string"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","string"]}' <<< '[]'
$ json -d '{"type":"list","args":["null","object"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["null","object"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","object"]}' <<< 'false'
$ json -d '{"type":"list","args":["null","object"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","object"]}' <<< 'true'
$ json -d '{"type":"list","args":["null","object"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","object"]}' <<< '123'
$ json -d '{"type":"list","args":["null","object"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","object"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["null","object"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["null","object"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","object"]}' <<< '[]'
$ json -d '{"type":"list","args":["null","array"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["null","array"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","array"]}' <<< 'false'
$ json -d '{"type":"list","args":["null","array"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","array"]}' <<< 'true'
$ json -d '{"type":"list","args":["null","array"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","array"]}' <<< '123'
$ json -d '{"type":"list","args":["null","array"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","array"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["null","array"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["null","array"]}' <<< '{}'
$ json -d '{"type":"list","args":["null","array"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["boolean","type"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["boolean","type"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["boolean","type"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["boolean","type"]}' <<< '123'
123
$ json -d '{"type":"list","args":["boolean","type"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["boolean","type"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["boolean","type"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["boolean","null"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["boolean","null"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["boolean","null"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["boolean","null"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","null"]}' <<< '123'
$ json -d '{"type":"list","args":["boolean","null"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","null"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["boolean","null"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","null"]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean","null"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","null"]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean","number"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","number"]}' <<< 'null'
$ json -d '{"type":"list","args":["boolean","number"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["boolean","number"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["boolean","number"]}' <<< '123'
123
$ json -d '{"type":"list","args":["boolean","number"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","number"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["boolean","number"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","number"]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean","number"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","number"]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean","string"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","string"]}' <<< 'null'
$ json -d '{"type":"list","args":["boolean","string"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["boolean","string"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["boolean","string"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","string"]}' <<< '123'
$ json -d '{"type":"list","args":["boolean","string"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["boolean","string"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","string"]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean","string"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","string"]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean","object"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","object"]}' <<< 'null'
$ json -d '{"type":"list","args":["boolean","object"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["boolean","object"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["boolean","object"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","object"]}' <<< '123'
$ json -d '{"type":"list","args":["boolean","object"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","object"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["boolean","object"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["boolean","object"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","object"]}' <<< '[]'
$ json -d '{"type":"list","args":["boolean","array"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","array"]}' <<< 'null'
$ json -d '{"type":"list","args":["boolean","array"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["boolean","array"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["boolean","array"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","array"]}' <<< '123'
$ json -d '{"type":"list","args":["boolean","array"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","array"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["boolean","array"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["boolean","array"]}' <<< '{}'
$ json -d '{"type":"list","args":["boolean","array"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["number","type"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["number","type"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["number","type"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["number","type"]}' <<< '123'
123
$ json -d '{"type":"list","args":["number","type"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["number","type"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["number","type"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["number","null"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["number","null"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","null"]}' <<< 'false'
$ json -d '{"type":"list","args":["number","null"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","null"]}' <<< 'true'
$ json -d '{"type":"list","args":["number","null"]}' <<< '123'
123
$ json -d '{"type":"list","args":["number","null"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","null"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["number","null"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","null"]}' <<< '{}'
$ json -d '{"type":"list","args":["number","null"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","null"]}' <<< '[]'
$ json -d '{"type":"list","args":["number","boolean"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","boolean"]}' <<< 'null'
$ json -d '{"type":"list","args":["number","boolean"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["number","boolean"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["number","boolean"]}' <<< '123'
123
$ json -d '{"type":"list","args":["number","boolean"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","boolean"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["number","boolean"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","boolean"]}' <<< '{}'
$ json -d '{"type":"list","args":["number","boolean"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","boolean"]}' <<< '[]'
$ json -d '{"type":"list","args":["number","string"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","string"]}' <<< 'null'
$ json -d '{"type":"list","args":["number","string"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","string"]}' <<< 'false'
$ json -d '{"type":"list","args":["number","string"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","string"]}' <<< 'true'
$ json -d '{"type":"list","args":["number","string"]}' <<< '123'
123
$ json -d '{"type":"list","args":["number","string"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["number","string"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","string"]}' <<< '{}'
$ json -d '{"type":"list","args":["number","string"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","string"]}' <<< '[]'
$ json -d '{"type":"list","args":["number","object"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","object"]}' <<< 'null'
$ json -d '{"type":"list","args":["number","object"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","object"]}' <<< 'false'
$ json -d '{"type":"list","args":["number","object"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","object"]}' <<< 'true'
$ json -d '{"type":"list","args":["number","object"]}' <<< '123'
123
$ json -d '{"type":"list","args":["number","object"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","object"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["number","object"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["number","object"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","object"]}' <<< '[]'
$ json -d '{"type":"list","args":["number","array"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","array"]}' <<< 'null'
$ json -d '{"type":"list","args":["number","array"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","array"]}' <<< 'false'
$ json -d '{"type":"list","args":["number","array"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","array"]}' <<< 'true'
$ json -d '{"type":"list","args":["number","array"]}' <<< '123'
123
$ json -d '{"type":"list","args":["number","array"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","array"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["number","array"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["number","array"]}' <<< '{}'
$ json -d '{"type":"list","args":["number","array"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["string","type"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["string","type"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["string","type"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["string","type"]}' <<< '123'
123
$ json -d '{"type":"list","args":["string","type"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["string","type"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["string","type"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["string","null"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["string","null"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","null"]}' <<< 'false'
$ json -d '{"type":"list","args":["string","null"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","null"]}' <<< 'true'
$ json -d '{"type":"list","args":["string","null"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","null"]}' <<< '123'
$ json -d '{"type":"list","args":["string","null"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["string","null"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","null"]}' <<< '{}'
$ json -d '{"type":"list","args":["string","null"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","null"]}' <<< '[]'
$ json -d '{"type":"list","args":["string","boolean"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","boolean"]}' <<< 'null'
$ json -d '{"type":"list","args":["string","boolean"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["string","boolean"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["string","boolean"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","boolean"]}' <<< '123'
$ json -d '{"type":"list","args":["string","boolean"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["string","boolean"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","boolean"]}' <<< '{}'
$ json -d '{"type":"list","args":["string","boolean"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","boolean"]}' <<< '[]'
$ json -d '{"type":"list","args":["string","number"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","number"]}' <<< 'null'
$ json -d '{"type":"list","args":["string","number"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","number"]}' <<< 'false'
$ json -d '{"type":"list","args":["string","number"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","number"]}' <<< 'true'
$ json -d '{"type":"list","args":["string","number"]}' <<< '123'
123
$ json -d '{"type":"list","args":["string","number"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["string","number"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","number"]}' <<< '{}'
$ json -d '{"type":"list","args":["string","number"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","number"]}' <<< '[]'
$ json -d '{"type":"list","args":["string","object"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","object"]}' <<< 'null'
$ json -d '{"type":"list","args":["string","object"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","object"]}' <<< 'false'
$ json -d '{"type":"list","args":["string","object"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","object"]}' <<< 'true'
$ json -d '{"type":"list","args":["string","object"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","object"]}' <<< '123'
$ json -d '{"type":"list","args":["string","object"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["string","object"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["string","object"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","object"]}' <<< '[]'
$ json -d '{"type":"list","args":["string","array"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","array"]}' <<< 'null'
$ json -d '{"type":"list","args":["string","array"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","array"]}' <<< 'false'
$ json -d '{"type":"list","args":["string","array"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","array"]}' <<< 'true'
$ json -d '{"type":"list","args":["string","array"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","array"]}' <<< '123'
$ json -d '{"type":"list","args":["string","array"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["string","array"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["string","array"]}' <<< '{}'
$ json -d '{"type":"list","args":["string","array"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["object","type"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["object","type"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["object","type"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["object","type"]}' <<< '123'
123
$ json -d '{"type":"list","args":["object","type"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["object","type"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object","type"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["object","null"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["object","null"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","null"]}' <<< 'false'
$ json -d '{"type":"list","args":["object","null"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","null"]}' <<< 'true'
$ json -d '{"type":"list","args":["object","null"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","null"]}' <<< '123'
$ json -d '{"type":"list","args":["object","null"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","null"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["object","null"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object","null"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","null"]}' <<< '[]'
$ json -d '{"type":"list","args":["object","boolean"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","boolean"]}' <<< 'null'
$ json -d '{"type":"list","args":["object","boolean"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["object","boolean"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["object","boolean"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","boolean"]}' <<< '123'
$ json -d '{"type":"list","args":["object","boolean"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","boolean"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["object","boolean"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object","boolean"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","boolean"]}' <<< '[]'
$ json -d '{"type":"list","args":["object","number"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","number"]}' <<< 'null'
$ json -d '{"type":"list","args":["object","number"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","number"]}' <<< 'false'
$ json -d '{"type":"list","args":["object","number"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","number"]}' <<< 'true'
$ json -d '{"type":"list","args":["object","number"]}' <<< '123'
123
$ json -d '{"type":"list","args":["object","number"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","number"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["object","number"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object","number"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","number"]}' <<< '[]'
$ json -d '{"type":"list","args":["object","string"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","string"]}' <<< 'null'
$ json -d '{"type":"list","args":["object","string"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","string"]}' <<< 'false'
$ json -d '{"type":"list","args":["object","string"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","string"]}' <<< 'true'
$ json -d '{"type":"list","args":["object","string"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","string"]}' <<< '123'
$ json -d '{"type":"list","args":["object","string"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["object","string"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object","string"]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","string"]}' <<< '[]'
$ json -d '{"type":"list","args":["object","array"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","array"]}' <<< 'null'
$ json -d '{"type":"list","args":["object","array"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","array"]}' <<< 'false'
$ json -d '{"type":"list","args":["object","array"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","array"]}' <<< 'true'
$ json -d '{"type":"list","args":["object","array"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","array"]}' <<< '123'
$ json -d '{"type":"list","args":["object","array"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["object","array"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["object","array"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["object","array"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array","type"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["array","type"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["array","type"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["array","type"]}' <<< '123'
123
$ json -d '{"type":"list","args":["array","type"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["array","type"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["array","type"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array","null"]}' <<< 'null'
null
$ json -d '{"type":"list","args":["array","null"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","null"]}' <<< 'false'
$ json -d '{"type":"list","args":["array","null"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","null"]}' <<< 'true'
$ json -d '{"type":"list","args":["array","null"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","null"]}' <<< '123'
$ json -d '{"type":"list","args":["array","null"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","null"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["array","null"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","null"]}' <<< '{}'
$ json -d '{"type":"list","args":["array","null"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array","boolean"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","boolean"]}' <<< 'null'
$ json -d '{"type":"list","args":["array","boolean"]}' <<< 'false'
false
$ json -d '{"type":"list","args":["array","boolean"]}' <<< 'true'
true
$ json -d '{"type":"list","args":["array","boolean"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","boolean"]}' <<< '123'
$ json -d '{"type":"list","args":["array","boolean"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","boolean"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["array","boolean"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","boolean"]}' <<< '{}'
$ json -d '{"type":"list","args":["array","boolean"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array","number"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","number"]}' <<< 'null'
$ json -d '{"type":"list","args":["array","number"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","number"]}' <<< 'false'
$ json -d '{"type":"list","args":["array","number"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","number"]}' <<< 'true'
$ json -d '{"type":"list","args":["array","number"]}' <<< '123'
123
$ json -d '{"type":"list","args":["array","number"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","number"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["array","number"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","number"]}' <<< '{}'
$ json -d '{"type":"list","args":["array","number"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array","string"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","string"]}' <<< 'null'
$ json -d '{"type":"list","args":["array","string"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","string"]}' <<< 'false'
$ json -d '{"type":"list","args":["array","string"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","string"]}' <<< 'true'
$ json -d '{"type":"list","args":["array","string"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","string"]}' <<< '123'
$ json -d '{"type":"list","args":["array","string"]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":["array","string"]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","string"]}' <<< '{}'
$ json -d '{"type":"list","args":["array","string"]}' <<< '[]'
[]
$ json -d '{"type":"list","args":["array","object"]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","object"]}' <<< 'null'
$ json -d '{"type":"list","args":["array","object"]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","object"]}' <<< 'false'
$ json -d '{"type":"list","args":["array","object"]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","object"]}' <<< 'true'
$ json -d '{"type":"list","args":["array","object"]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","object"]}' <<< '123'
$ json -d '{"type":"list","args":["array","object"]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":["array","object"]}' <<< '"foo"'
$ json -d '{"type":"list","args":["array","object"]}' <<< '{}'
{}
$ json -d '{"type":"list","args":["array","object"]}' <<< '[]'
[]
$

--[ list4 ]---------------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"foo"'; do for v2 in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do t='{"type":"list","args":[{"plain":'"$v1"'}]}'; c="json -d '$t' <<< '$v2'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"}]}' <<< '[]'
$

--[ list5 ]---------------------------------------------------------------------

#
# # meta command:
# $ for v1 in null false true 123 '"foo"'; do for v2 in null false true 123 '"foo"'; do for v3 in null false true 123 456 '"foo"' '"bar"' '{}' '[]'; do test "$v1" == "$v2" && continue; t='{"type":"list","args":[{"plain":'"$v1"'},{"plain":'"$v2"'}]}'; c="json -d '$t' <<< '$v3'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":false}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":true}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":123}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"foo"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"foo"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"foo"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"foo"}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"foo"}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"foo"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"foo"}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":null},{"plain":"foo"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":null}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":true}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":123}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"foo"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"foo"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"foo"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"foo"}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"foo"}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"foo"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"foo"}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":false},{"plain":"foo"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":null}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":false}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":123}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"foo"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"foo"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"foo"}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"foo"}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"foo"}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"foo"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"foo"}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":true},{"plain":"foo"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":null}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":false}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '"foo"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:1: "foo"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '"foo"'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":true}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"foo"}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"foo"}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"foo"}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"foo"}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"foo"}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"foo"}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"foo"}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":123},{"plain":"foo"}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< 'null'
null
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":null}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":null}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":null}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":null}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":null}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":null}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":null}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":null}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":false}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< 'false'
false
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":false}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":false}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":false}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":false}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":false}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":false}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":false}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":true}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":true}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< 'true'
true
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '123'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":true}]}'
json: error: <stdin>:1:1: 123
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '123'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":true}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":true}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":true}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":true}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":true}]}' <<< '[]'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< 'null'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":123}]}'
json: error: <stdin>:1:1: null
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< 'null'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< 'false'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":123}]}'
json: error: <stdin>:1:1: false
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< 'false'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< 'true'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":123}]}'
json: error: <stdin>:1:1: true
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< 'true'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '123'
123
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '456'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":123}]}'
json: error: <stdin>:1:1: 456
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '456'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '"foo"'
"foo"
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '"bar"'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":123}]}'
json: error: <stdin>:1:1: "bar"
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '"bar"'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '{}'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":123}]}'
json: error: <stdin>:1:1: {}
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '{}'
$ json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '[]'
json: error: <stdin>:1:1: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"},{"plain":123}]}'
json: error: <stdin>:1:1: []
json: error: <stdin>:1:1: ^
command failed: json -d '{"type":"list","args":[{"plain":"foo"},{"plain":123}]}' <<< '[]'
$

--[ object-list ]---------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}'; c="json -d '$t2' <<< '{\"foo\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":[]}'
$

--[ object-list2 ]--------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["'"$t"'"]}}]}'; c="json -d '$t2' <<< '{\"foo\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ object-list3 ]--------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"'; do for v2 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t='{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":'"$v"'}]}}]}'; c="json -d '$t' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$

--[ object-list4 ]--------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for t2 in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do test "$t" == "$t2" && continue; t3='{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["'"$t"'","'"$t2"'"]}}]}'; c="json -d '$t3' <<< '{\"foo\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ object-list5 ]--------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"'; do for v2 in null false true 123 '"bar"'; do for v3 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do test "$v" == "$v2" && continue; t='{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":'"$v"'},{"plain":'"$v2"'}]}}]}'; c="json -d '$t' <<< '{\"foo\":$v3}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":[]}'
$

--[ object-list6 ]--------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"'; do for v2 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["'"$t"'",{"plain":'"$v"'}]}}]}'; c="json -d '$t2' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ object-list7 ]--------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"'; do for v2 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t2='{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":'"$v"'},"'"$t"'"]}}]}'; c="json -d '$t2' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"object","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ dict-list ]-----------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}'; c="json -d '$t2' <<< '{\"foo\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[]}}]}' <<< '{"foo":[]}'
$

--[ dict-list2 ]----------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["'"$t"'"]}}]}'; c="json -d '$t2' <<< '{\"foo\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ dict-list3 ]----------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"'; do for v2 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t='{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":'"$v"'}]}}]}'; c="json -d '$t' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$

--[ dict-list4 ]----------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for t2 in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do test "$t" == "$t2" && continue; t3='{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["'"$t"'","'"$t2"'"]}}]}'; c="json -d '$t3' <<< '{\"foo\":$v}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","null"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","boolean"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","number"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","string"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","object"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object","array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","null"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","boolean"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","number"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","string"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array","object"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ dict-list5 ]----------------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"'; do for v2 in null false true 123 '"bar"'; do for v3 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do test "$v" == "$v2" && continue; t='{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":'"$v"'},{"plain":'"$v2"'}]}}]}'; c="json -d '$t' <<< '{\"foo\":$v3}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}]}' <<< '{"foo":[]}'
$

--[ dict-list6 ]----------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"'; do for v2 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["'"$t"'",{"plain":'"$v"'}]}}]}'; c="json -d '$t2' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":null}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":false}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":true}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":123}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["type",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["null",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["boolean",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["number",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["string",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":null}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":false}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":true}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":123}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["object",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":null}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":false}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":true}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":123}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":["array",{"plain":"bar"}]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ dict-list7 ]----------------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"'; do for v2 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t2='{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":'"$v"'},"'"$t"'"]}}]}'; c="json -d '$t2' <<< '{\"foo\":$v2}'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"type"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"null"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"boolean"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":456}'
{"foo":456}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"number"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":"baz"}'
{"foo":"baz"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"string"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":{}}'
{"foo":{}}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":[]}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:8: {"foo":[]}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"object"]}}]}' <<< '{"foo":[]}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":null}'
{"foo":null}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":null},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":false}'
{"foo":false}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":false},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":true}'
{"foo":true}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":true},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":123}'
{"foo":123}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":"bar"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":"bar"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":"bar"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":123},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":null}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":null}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":null}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":false}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":false}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":false}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":true}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":true}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":true}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":123}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":123}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":123}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":456}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":456}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":456}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":"bar"}'
{"foo":"bar"}
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":"baz"}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":"baz"}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":"baz"}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":{}}'
json: error: <stdin>:1:8: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:8: {"foo":{}}
json: error: <stdin>:1:8:        ^
{"foo":
command failed: json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":{}}'
$ json -d '{"type":"dict","args":[{"name":"foo","type":{"type":"list","args":[{"plain":"bar"},"array"]}}]}' <<< '{"foo":[]}'
{"foo":[]}
$

--[ open-array-list ]-----------------------------------------------------------

#
# # meta command:
# $ for v in '' null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"array","args":{"type":"list","args":[]}}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[]}}' <<< '[[]]'
$

--[ open-array-list2 ]----------------------------------------------------------

#
# # meta command:
# $ for t in null boolean number string object array; do for v in '' null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"array","args":{"type":"list","args":["'"$t"'"]}}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[[]]'
[[]]
$

--[ open-array-list3 ]----------------------------------------------------------

#
# # meta command:
# $ for t in null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"array","args":{"type":"list","args":["'"$t"'"]}}'; c="json -d '$t2' <<< '[$v,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array"]}}' <<< '[[],[]]'
[[],[]]
$

--[ open-array-list4 ]----------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"'; do for v2 in '' null false true 123  456 '"foo"' '"bar"' '{}' '[]'; do t2='{"type":"array","args":{"type":"list","args":[{"plain":'"$v"'}]}}'; c="json -d '$t2' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '["foo"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[[]]'
$

--[ open-array-list5 ]----------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"'; do for v2 in null false true 123  456 '"foo"' '"bar"' '{}' '[]'; do t2='{"type":"array","args":{"type":"list","args":[{"plain":'"$v"'}]}}'; c="json -d '$t2' <<< '[$v2,$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '["foo","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: ["foo","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '["foo","foo"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '["foo","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: ["foo","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '["foo","foo"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '["foo","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: ["foo","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '["foo","foo"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '["foo","foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: ["foo","foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '["foo","foo"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '["foo","foo"]'
["foo","foo"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"foo"}]}}' <<< '[[],[]]'
$

--[ open-array-list6 ]----------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for t2 in type null boolean number string object array; do for v in '' null false true 123 '"bar"' '{}' '[]'; do test "$t" == "$t2" && continue; t3='{"type":"array","args":{"type":"list","args":["'"$t"'","'"$t2"'"]}}'; c="json -d '$t3' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[[]]'
[[]]
$

--[ open-array-list7 ]----------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for t2 in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do test "$t" == "$t2" && continue; t3='{"type":"array","args":{"type":"list","args":["'"$t"'","'"$t2"'"]}}'; c="json -d '$t3' <<< '[$v,$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","null"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","boolean"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","number"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","string"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","object"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type","array"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["null","type"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","boolean"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","number"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","string"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","object"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null","array"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","type"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","null"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","number"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","string"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","object"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean","array"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["number","type"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","null"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","boolean"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","string"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","object"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number","array"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["string","type"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","null"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","boolean"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","number"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","object"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string","array"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","type"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","null"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","boolean"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","number"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","string"]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object","array"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["array","type"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","null"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","boolean"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","number"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","string"]}}' <<< '[[],[]]'
[[],[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[{},{}]'
[{},{}]
$ json -d '{"type":"array","args":{"type":"list","args":["array","object"]}}' <<< '[[],[]]'
[[],[]]
$

--[ open-array-list8 ]----------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"'; do for v2 in null false true 123 '"bar"'; do for v3 in '' null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do test "$v" == "$v2" && continue; t='{"type":"array","args":{"type":"list","args":[{"plain":'"$v"'},{"plain":'"$v2"'}]}}'; c="json -d '$t' <<< '[$v3]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[[]]'
$

--[ open-array-list9 ]----------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"'; do for v2 in null false true 123 '"bar"'; do for v3 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do test "$v" == "$v2" && continue; t='{"type":"array","args":{"type":"list","args":[{"plain":'"$v"'},{"plain":'"$v2"'}]}}'; c="json -d '$t' <<< '[$v3,$v3]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":false}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":true}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":123}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},{"plain":"bar"}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":null}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":true}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":123}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},{"plain":"bar"}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":null}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":false}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":123}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},{"plain":"bar"}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":null}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":false}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '["bar","bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar","bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '["bar","bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":true}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},{"plain":"bar"}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[null,null]'
[null,null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":null}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[false,false]'
[false,false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":false}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[true,true]'
[true,true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[123,123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [123,123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[123,123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":true}]}}' <<< '[[],[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[null,null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [null,null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[null,null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[false,false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [false,false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[false,false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[true,true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [true,true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[true,true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[123,123]'
[123,123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[456,456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [456,456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[456,456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '["bar","bar"]'
["bar","bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '["baz","baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz","baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '["baz","baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[{},{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [{},{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[{},{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[[],[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [[],[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},{"plain":123}]}}' <<< '[[],[]]'
$

--[ open-array-list10 ]---------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"'; do for v2 in '' null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t2='{"type":"array","args":{"type":"list","args":["'"$t"'",{"plain":'"$v"'}]}}'; c="json -d '$t2' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":null}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":false}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":true}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":123}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["type",{"plain":"bar"}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["null",{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["boolean",{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["number",{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["string",{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":null}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":false}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":true}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":123}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["object",{"plain":"bar"}]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":null}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":false}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":true}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":123}]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":["array",{"plain":"bar"}]}}' <<< '[[]]'
[[]]
$

--[ open-array-list11 ]---------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"'; do for v2 in '' null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t2='{"type":"array","args":{"type":"list","args":[{"plain":'"$v"'},"'"$t"'"]}}'; c="json -d '$t2' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"type"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"null"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"boolean"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"number"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"string"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"object"]}}' <<< '[[]]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":null},"array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":false},"array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":true},"array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '["bar"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":123},"array"]}}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[]'
[]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[null]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[false]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[true]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[123]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[456]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '["baz"]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[{}]'
$ json -d '{"type":"array","args":{"type":"list","args":[{"plain":"bar"},"array"]}}' <<< '[[]]'
[[]]
$

--[ closed-array-list ]---------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"array","args":[{"type":"list","args":[]}]}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done
#
$ json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[]}]}' <<< '[[]]'
$

--[ closed-array-list2 ]--------------------------------------------------------

#
# # meta command:
# $ for t in null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do t2='{"type":"array","args":[{"type":"list","args":["'"$t"'"]}]}'; c="json -d '$t2' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array"]}]}' <<< '[[]]'
[[]]
$

--[ closed-array-list3 ]--------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"foo"'; do for v2 in null false true 123  456 '"foo"' '"bar"' '{}' '[]'; do t2='{"type":"array","args":[{"type":"list","args":[{"plain":'"$v"'}]}]}'; c="json -d '$t2' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done
#
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '["foo"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: ["foo"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '["foo"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '["foo"]'
["foo"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"foo"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"foo"}]}]}' <<< '[[]]'
$

--[ closed-array-list4 ]--------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for t2 in type null boolean number string object array; do for v in null false true 123 '"bar"' '{}' '[]'; do test "$t" == "$t2" && continue; t3='{"type":"array","args":[{"type":"list","args":["'"$t"'","'"$t2"'"]}]}'; c="json -d '$t3' <<< '[$v]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":[{"type":"list","args":["type","null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","null"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","null"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","null"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","null"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","null"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","null"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","boolean"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","boolean"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","boolean"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","boolean"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","boolean"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","number"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","number"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","number"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","number"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","number"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","number"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","string"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","string"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","string"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","string"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","string"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","string"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","object"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","object"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","object"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","object"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","object"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","object"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","array"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","array"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","array"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","array"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","array"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","array"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type","array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null","array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null","array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean","array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean","array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number","array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number","array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string","array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string","array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object","array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object","array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","null"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","boolean"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","number"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","string"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array","object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["array","object"]}]}' <<< '[[]]'
[[]]
$

--[ closed-array-list5 ]--------------------------------------------------------

#
# # meta command:
# $ for v in null false true 123 '"bar"'; do for v2 in null false true 123 '"bar"'; do for v3 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do test "$v" == "$v2" && continue; t='{"type":"array","args":[{"type":"list","args":[{"plain":'"$v"'},{"plain":'"$v2"'}]}]}'; c="json -d '$t' <<< '[$v3]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},{"plain":123}]}]}' <<< '[[]]'
$

--[ closed-array-list6 ]--------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"'; do for v2 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t2='{"type":"array","args":[{"type":"list","args":["'"$t"'",{"plain":'"$v"'}]}]}'; c="json -d '$t2' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":null}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":false}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":true}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":123}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["type",{"plain":"bar"}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["null",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["null",{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["boolean",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["boolean",{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["number",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["number",{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["string",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["string",{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":null}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":null}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":false}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":false}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":true}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":true}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":123}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":123}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["object",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["object",{"plain":"bar"}]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":null}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":null}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":false}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":false}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":true}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":true}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":123}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":123}]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":["array",{"plain":"bar"}]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":["array",{"plain":"bar"}]}]}' <<< '[[]]'
[[]]
$

--[ closed-array-list7 ]--------------------------------------------------------

#
# # meta command:
# $ for t in type null boolean number string object array; do for v in null false true 123 '"bar"'; do for v2 in null false true 123 456 '"bar"' '"baz"' '{}' '[]'; do t2='{"type":"array","args":[{"type":"list","args":[{"plain":'"$v"'},"'"$t"'"]}]}'; c="json -d '$t2' <<< '[$v2]'"; echo "$ $c"; eval "$c"; test "$?" -ne 0 && echo "command failed: $c"; done; done; done
#
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"type"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"null"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"null"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"boolean"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"boolean"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[456]'
[456]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"number"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"number"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '["baz"]'
["baz"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"string"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"string"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[{}]'
[{}]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[[]]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"object"]}'
json: error: <stdin>:1:2: [[]]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"object"]}]}' <<< '[[]]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[null]'
[null]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":null},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":null},"array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[false]'
[false]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":false},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":false},"array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[true]'
[true]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":true},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":true},"array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[123]'
[123]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '["bar"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: ["bar"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '["bar"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":123},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":123},"array"]}]}' <<< '[[]]'
[[]]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[null]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [null]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[null]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[false]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [false]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[false]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[true]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [true]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[true]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[123]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [123]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[123]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[456]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [456]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[456]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '["bar"]'
["bar"]
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '["baz"]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: ["baz"]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '["baz"]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[{}]'
json: error: <stdin>:1:2: type check error: type mismatch: expected a value of type `{"type":"list","args":[{"plain":"bar"},"array"]}'
json: error: <stdin>:1:2: [{}]
json: error: <stdin>:1:2:  ^
[
command failed: json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[{}]'
$ json -d '{"type":"array","args":[{"type":"list","args":[{"plain":"bar"},"array"]}]}' <<< '[[]]'
[[]]
$

--[ dict-expr ]-----------------------------------------------------------------

$ json() { set -o pipefail && ../lib/test-gen --dict -V -d1 -k2 -ae "$2"|LD_LIBRARY_PATH=../lib ../src/json -EV -t <(../lib/test-gen --dict -T -d1 -k2 -ae "$1"); }
#
# # meta command:
# $ for o in '' '~'; do for x in a b; do for k in a b a,b z; do c="json '$o$x' '$k'"; echo "$ $c"; eval "$c 2>&1" || echo "command failed: $c"; done; done; done
#
$ json 'a' 'a'
{"a":0}
$ json 'a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a' 'b'
$ json 'a' 'a,b'
{"a":0,"b":1}
$ json 'a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a' 'z'
$ json 'b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b' 'a'
$ json 'b' 'b'
{"b":1}
$ json 'b' 'a,b'
{"a":0,"b":1}
$ json 'b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b' 'z'
$ json '~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a' 'a'
$ json '~a' 'b'
{"b":1}
$ json '~a' 'a,b'
{"a":0,"b":1}
$ json '~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a' 'z'
$ json '~b' 'a'
{"a":0}
$ json '~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b' 'b'
$ json '~b' 'a,b'
{"a":0,"b":1}
$ json '~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b' 'z'
$

--[ dict-expr2 ]----------------------------------------------------------------

$ json() { set -o pipefail && ../lib/test-gen --dict -V -d1 -k3 -ae "$2"|LD_LIBRARY_PATH=../lib ../src/json -EV -t <(../lib/test-gen --dict -T -d1 -k3 -ae "$1"); }
#
# # meta command:
# $ for o in ' ' '|' '||'; do for x in a '~a' b '~b' c '~c'; do for y in a '~a' b '~b' c '~c'; do [ "$x" == "$y" ] && continue; for k in a b c a,b a,c b,c a,b,c z; do c="json '$x$o$y' '$k'"; echo "$ $c"; eval "$c 2>&1" || echo "command failed: $c"; done; done; done; done
#
$ json 'a ~a' 'a'
{"a":0}
$ json 'a ~a' 'b'
{"b":1}
$ json 'a ~a' 'c'
{"c":2}
$ json 'a ~a' 'a,b'
{"a":0,"b":1}
$ json 'a ~a' 'a,c'
{"a":0,"c":2}
$ json 'a ~a' 'b,c'
{"b":1,"c":2}
$ json 'a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a' 'z'
{}
$ json 'a b' 'a'
{"a":0}
$ json 'a b' 'b'
{"b":1}
$ json 'a b' 'c'
{"c":2}
$ json 'a b' 'a,b'
{"a":0,"b":1}
$ json 'a b' 'a,c'
{"a":0,"c":2}
$ json 'a b' 'b,c'
{"b":1,"c":2}
$ json 'a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b' 'z'
{}
$ json 'a ~b' 'a'
{"a":0}
$ json 'a ~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a ~b' 'b'
$ json 'a ~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a ~b' 'c'
$ json 'a ~b' 'a,b'
{"a":0,"b":1}
$ json 'a ~b' 'a,c'
{"a":0,"c":2}
$ json 'a ~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a ~b' 'b,c'
$ json 'a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b' 'z'
$ json 'a c' 'a'
{"a":0}
$ json 'a c' 'b'
{"b":1}
$ json 'a c' 'c'
{"c":2}
$ json 'a c' 'a,b'
{"a":0,"b":1}
$ json 'a c' 'a,c'
{"a":0,"c":2}
$ json 'a c' 'b,c'
{"b":1,"c":2}
$ json 'a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c' 'z'
{}
$ json 'a ~c' 'a'
{"a":0}
$ json 'a ~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a ~c' 'b'
$ json 'a ~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a ~c' 'c'
$ json 'a ~c' 'a,b'
{"a":0,"b":1}
$ json 'a ~c' 'a,c'
{"a":0,"c":2}
$ json 'a ~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a ~c' 'b,c'
$ json 'a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c' 'z'
$ json '~a a' 'a'
{"a":0}
$ json '~a a' 'b'
{"b":1}
$ json '~a a' 'c'
{"c":2}
$ json '~a a' 'a,b'
{"a":0,"b":1}
$ json '~a a' 'a,c'
{"a":0,"c":2}
$ json '~a a' 'b,c'
{"b":1,"c":2}
$ json '~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a' 'z'
{}
$ json '~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b' 'a'
$ json '~a b' 'b'
{"b":1}
$ json '~a b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a b' 'c'
$ json '~a b' 'a,b'
{"a":0,"b":1}
$ json '~a b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a b' 'a,c'
$ json '~a b' 'b,c'
{"b":1,"c":2}
$ json '~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b' 'z'
$ json '~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b' 'a'
$ json '~a ~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a ~b' 'b'
$ json '~a ~b' 'c'
{"c":2}
$ json '~a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~b' 'a,b'
$ json '~a ~b' 'a,c'
{"a":0,"c":2}
$ json '~a ~b' 'b,c'
{"b":1,"c":2}
$ json '~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b' 'z'
$ json '~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c' 'a'
$ json '~a c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a c' 'b'
$ json '~a c' 'c'
{"c":2}
$ json '~a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a c' 'a,b'
$ json '~a c' 'a,c'
{"a":0,"c":2}
$ json '~a c' 'b,c'
{"b":1,"c":2}
$ json '~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c' 'z'
$ json '~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c' 'a'
$ json '~a ~c' 'b'
{"b":1}
$ json '~a ~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a ~c' 'c'
$ json '~a ~c' 'a,b'
{"a":0,"b":1}
$ json '~a ~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a ~c' 'a,c'
$ json '~a ~c' 'b,c'
{"b":1,"c":2}
$ json '~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c' 'z'
$ json 'b a' 'a'
{"a":0}
$ json 'b a' 'b'
{"b":1}
$ json 'b a' 'c'
{"c":2}
$ json 'b a' 'a,b'
{"a":0,"b":1}
$ json 'b a' 'a,c'
{"a":0,"c":2}
$ json 'b a' 'b,c'
{"b":1,"c":2}
$ json 'b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a' 'z'
{}
$ json 'b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a' 'a'
$ json 'b ~a' 'b'
{"b":1}
$ json 'b ~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b ~a' 'c'
$ json 'b ~a' 'a,b'
{"a":0,"b":1}
$ json 'b ~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b ~a' 'a,c'
$ json 'b ~a' 'b,c'
{"b":1,"c":2}
$ json 'b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a' 'z'
$ json 'b ~b' 'a'
{"a":0}
$ json 'b ~b' 'b'
{"b":1}
$ json 'b ~b' 'c'
{"c":2}
$ json 'b ~b' 'a,b'
{"a":0,"b":1}
$ json 'b ~b' 'a,c'
{"a":0,"c":2}
$ json 'b ~b' 'b,c'
{"b":1,"c":2}
$ json 'b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b' 'z'
{}
$ json 'b c' 'a'
{"a":0}
$ json 'b c' 'b'
{"b":1}
$ json 'b c' 'c'
{"c":2}
$ json 'b c' 'a,b'
{"a":0,"b":1}
$ json 'b c' 'a,c'
{"a":0,"c":2}
$ json 'b c' 'b,c'
{"b":1,"c":2}
$ json 'b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c' 'z'
{}
$ json 'b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c' 'a'
$ json 'b ~c' 'b'
{"b":1}
$ json 'b ~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b ~c' 'c'
$ json 'b ~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b ~c' 'a,c'
$ json 'b ~c' 'b,c'
{"b":1,"c":2}
$ json 'b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c' 'z'
$ json '~b a' 'a'
{"a":0}
$ json '~b a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b a' 'b'
$ json '~b a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b a' 'c'
$ json '~b a' 'a,b'
{"a":0,"b":1}
$ json '~b a' 'a,c'
{"a":0,"c":2}
$ json '~b a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b a' 'b,c'
$ json '~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a' 'z'
$ json '~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a' 'a'
$ json '~b ~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b ~a' 'b'
$ json '~b ~a' 'c'
{"c":2}
$ json '~b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~a' 'a,b'
$ json '~b ~a' 'a,c'
{"a":0,"c":2}
$ json '~b ~a' 'b,c'
{"b":1,"c":2}
$ json '~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a' 'z'
$ json '~b b' 'a'
{"a":0}
$ json '~b b' 'b'
{"b":1}
$ json '~b b' 'c'
{"c":2}
$ json '~b b' 'a,b'
{"a":0,"b":1}
$ json '~b b' 'a,c'
{"a":0,"c":2}
$ json '~b b' 'b,c'
{"b":1,"c":2}
$ json '~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b' 'z'
{}
$ json '~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c' 'a'
$ json '~b c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b c' 'b'
$ json '~b c' 'c'
{"c":2}
$ json '~b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b c' 'a,b'
$ json '~b c' 'a,c'
{"a":0,"c":2}
$ json '~b c' 'b,c'
{"b":1,"c":2}
$ json '~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c' 'z'
$ json '~b ~c' 'a'
{"a":0}
$ json '~b ~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b ~c' 'b'
$ json '~b ~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b ~c' 'c'
$ json '~b ~c' 'a,b'
{"a":0,"b":1}
$ json '~b ~c' 'a,c'
{"a":0,"c":2}
$ json '~b ~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b ~c' 'b,c'
$ json '~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c' 'z'
$ json 'c a' 'a'
{"a":0}
$ json 'c a' 'b'
{"b":1}
$ json 'c a' 'c'
{"c":2}
$ json 'c a' 'a,b'
{"a":0,"b":1}
$ json 'c a' 'a,c'
{"a":0,"c":2}
$ json 'c a' 'b,c'
{"b":1,"c":2}
$ json 'c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a' 'z'
{}
$ json 'c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a' 'a'
$ json 'c ~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c ~a' 'b'
$ json 'c ~a' 'c'
{"c":2}
$ json 'c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~a' 'a,b'
$ json 'c ~a' 'a,c'
{"a":0,"c":2}
$ json 'c ~a' 'b,c'
{"b":1,"c":2}
$ json 'c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a' 'z'
$ json 'c b' 'a'
{"a":0}
$ json 'c b' 'b'
{"b":1}
$ json 'c b' 'c'
{"c":2}
$ json 'c b' 'a,b'
{"a":0,"b":1}
$ json 'c b' 'a,c'
{"a":0,"c":2}
$ json 'c b' 'b,c'
{"b":1,"c":2}
$ json 'c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b' 'z'
{}
$ json 'c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b' 'a'
$ json 'c ~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c ~b' 'b'
$ json 'c ~b' 'c'
{"c":2}
$ json 'c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~b' 'a,b'
$ json 'c ~b' 'a,c'
{"a":0,"c":2}
$ json 'c ~b' 'b,c'
{"b":1,"c":2}
$ json 'c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b' 'z'
$ json 'c ~c' 'a'
{"a":0}
$ json 'c ~c' 'b'
{"b":1}
$ json 'c ~c' 'c'
{"c":2}
$ json 'c ~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~c' 'a,c'
{"a":0,"c":2}
$ json 'c ~c' 'b,c'
{"b":1,"c":2}
$ json 'c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c' 'z'
{}
$ json '~c a' 'a'
{"a":0}
$ json '~c a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c a' 'b'
$ json '~c a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c a' 'c'
$ json '~c a' 'a,b'
{"a":0,"b":1}
$ json '~c a' 'a,c'
{"a":0,"c":2}
$ json '~c a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c a' 'b,c'
$ json '~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a' 'z'
$ json '~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a' 'a'
$ json '~c ~a' 'b'
{"b":1}
$ json '~c ~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c ~a' 'c'
$ json '~c ~a' 'a,b'
{"a":0,"b":1}
$ json '~c ~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c ~a' 'a,c'
$ json '~c ~a' 'b,c'
{"b":1,"c":2}
$ json '~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a' 'z'
$ json '~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b' 'a'
$ json '~c b' 'b'
{"b":1}
$ json '~c b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c b' 'c'
$ json '~c b' 'a,b'
{"a":0,"b":1}
$ json '~c b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c b' 'a,c'
$ json '~c b' 'b,c'
{"b":1,"c":2}
$ json '~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b' 'z'
$ json '~c ~b' 'a'
{"a":0}
$ json '~c ~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c ~b' 'b'
$ json '~c ~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c ~b' 'c'
$ json '~c ~b' 'a,b'
{"a":0,"b":1}
$ json '~c ~b' 'a,c'
{"a":0,"c":2}
$ json '~c ~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c ~b' 'b,c'
$ json '~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b' 'z'
$ json '~c c' 'a'
{"a":0}
$ json '~c c' 'b'
{"b":1}
$ json '~c c' 'c'
{"c":2}
$ json '~c c' 'a,b'
{"a":0,"b":1}
$ json '~c c' 'a,c'
{"a":0,"c":2}
$ json '~c c' 'b,c'
{"b":1,"c":2}
$ json '~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c' 'z'
{}
$ json 'a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a' 'a'
$ json 'a|~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a|~a' 'b'
$ json 'a|~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a|~a' 'c'
$ json 'a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a' 'a,b'
$ json 'a|~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'a|~a' 'a,c'
$ json 'a|~a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a|~a' 'b,c'
$ json 'a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a' 'z'
$ json 'a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b' 'a'
$ json 'a|b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a|b' 'b'
$ json 'a|b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a|b' 'c'
$ json 'a|b' 'a,b'
{"a":0,"b":1}
$ json 'a|b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'a|b' 'a,c'
$ json 'a|b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a|b' 'b,c'
$ json 'a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b' 'z'
$ json 'a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b' 'a'
$ json 'a|~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a|~b' 'b'
$ json 'a|~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a|~b' 'c'
$ json 'a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b' 'a,b'
$ json 'a|~b' 'a,c'
{"a":0,"c":2}
$ json 'a|~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a|~b' 'b,c'
$ json 'a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b' 'z'
$ json 'a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c' 'a'
$ json 'a|c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a|c' 'b'
$ json 'a|c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a|c' 'c'
$ json 'a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c' 'a,b'
$ json 'a|c' 'a,c'
{"a":0,"c":2}
$ json 'a|c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a|c' 'b,c'
$ json 'a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c' 'z'
$ json 'a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c' 'a'
$ json 'a|~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a|~c' 'b'
$ json 'a|~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a|~c' 'c'
$ json 'a|~c' 'a,b'
{"a":0,"b":1}
$ json 'a|~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'a|~c' 'a,c'
$ json 'a|~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a|~c' 'b,c'
$ json 'a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c' 'z'
$ json '~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a' 'a'
$ json '~a|a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a|a' 'b'
$ json '~a|a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a|a' 'c'
$ json '~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a' 'a,b'
$ json '~a|a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a|a' 'a,c'
$ json '~a|a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~a|a' 'b,c'
$ json '~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a' 'z'
$ json '~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b' 'a'
$ json '~a|b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a|b' 'b'
$ json '~a|b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a|b' 'c'
$ json '~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b' 'a,b'
$ json '~a|b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a|b' 'a,c'
$ json '~a|b' 'b,c'
{"b":1,"c":2}
$ json '~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b' 'z'
$ json '~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b' 'a'
$ json '~a|~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a|~b' 'b'
$ json '~a|~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a|~b' 'c'
$ json '~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b' 'a,b'
$ json '~a|~b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a|~b' 'a,c'
$ json '~a|~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~a|~b' 'b,c'
$ json '~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b' 'z'
$ json '~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c' 'a'
$ json '~a|c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a|c' 'b'
$ json '~a|c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a|c' 'c'
$ json '~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c' 'a,b'
$ json '~a|c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a|c' 'a,c'
$ json '~a|c' 'b,c'
{"b":1,"c":2}
$ json '~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c' 'z'
$ json '~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c' 'a'
$ json '~a|~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a|~c' 'b'
$ json '~a|~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a|~c' 'c'
$ json '~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c' 'a,b'
$ json '~a|~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a|~c' 'a,c'
$ json '~a|~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~a|~c' 'b,c'
$ json '~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c' 'z'
$ json 'b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a' 'a'
$ json 'b|a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'b|a' 'b'
$ json 'b|a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b|a' 'c'
$ json 'b|a' 'a,b'
{"a":0,"b":1}
$ json 'b|a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b|a' 'a,c'
$ json 'b|a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'b|a' 'b,c'
$ json 'b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a' 'z'
$ json 'b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a' 'a'
$ json 'b|~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'b|~a' 'b'
$ json 'b|~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b|~a' 'c'
$ json 'b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a' 'a,b'
$ json 'b|~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b|~a' 'a,c'
$ json 'b|~a' 'b,c'
{"b":1,"c":2}
$ json 'b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a' 'z'
$ json 'b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b' 'a'
$ json 'b|~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'b|~b' 'b'
$ json 'b|~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b|~b' 'c'
$ json 'b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b' 'a,b'
$ json 'b|~b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b|~b' 'a,c'
$ json 'b|~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'b|~b' 'b,c'
$ json 'b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b' 'z'
$ json 'b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c' 'a'
$ json 'b|c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'b|c' 'b'
$ json 'b|c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b|c' 'c'
$ json 'b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c' 'a,b'
$ json 'b|c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b|c' 'a,c'
$ json 'b|c' 'b,c'
{"b":1,"c":2}
$ json 'b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c' 'z'
$ json 'b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c' 'a'
$ json 'b|~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'b|~c' 'b'
$ json 'b|~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b|~c' 'c'
$ json 'b|~c' 'a,b'
{"a":0,"b":1}
$ json 'b|~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b|~c' 'a,c'
$ json 'b|~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'b|~c' 'b,c'
$ json 'b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c' 'z'
$ json '~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a' 'a'
$ json '~b|a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b|a' 'b'
$ json '~b|a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b|a' 'c'
$ json '~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a' 'a,b'
$ json '~b|a' 'a,c'
{"a":0,"c":2}
$ json '~b|a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b|a' 'b,c'
$ json '~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a' 'z'
$ json '~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a' 'a'
$ json '~b|~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b|~a' 'b'
$ json '~b|~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b|~a' 'c'
$ json '~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a' 'a,b'
$ json '~b|~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~b|~a' 'a,c'
$ json '~b|~a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b|~a' 'b,c'
$ json '~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a' 'z'
$ json '~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b' 'a'
$ json '~b|b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b|b' 'b'
$ json '~b|b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b|b' 'c'
$ json '~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b' 'a,b'
$ json '~b|b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~b|b' 'a,c'
$ json '~b|b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b|b' 'b,c'
$ json '~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b' 'z'
$ json '~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c' 'a'
$ json '~b|c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b|c' 'b'
$ json '~b|c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b|c' 'c'
$ json '~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c' 'a,b'
$ json '~b|c' 'a,c'
{"a":0,"c":2}
$ json '~b|c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b|c' 'b,c'
$ json '~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c' 'z'
$ json '~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c' 'a'
$ json '~b|~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b|~c' 'b'
$ json '~b|~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b|~c' 'c'
$ json '~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c' 'a,b'
$ json '~b|~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~b|~c' 'a,c'
$ json '~b|~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b|~c' 'b,c'
$ json '~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c' 'z'
$ json 'c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a' 'a'
$ json 'c|a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c|a' 'b'
$ json 'c|a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'c|a' 'c'
$ json 'c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a' 'a,b'
$ json 'c|a' 'a,c'
{"a":0,"c":2}
$ json 'c|a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'c|a' 'b,c'
$ json 'c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a' 'z'
$ json 'c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a' 'a'
$ json 'c|~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c|~a' 'b'
$ json 'c|~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'c|~a' 'c'
$ json 'c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a' 'a,b'
$ json 'c|~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'c|~a' 'a,c'
$ json 'c|~a' 'b,c'
{"b":1,"c":2}
$ json 'c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a' 'z'
$ json 'c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b' 'a'
$ json 'c|b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c|b' 'b'
$ json 'c|b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'c|b' 'c'
$ json 'c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b' 'a,b'
$ json 'c|b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'c|b' 'a,c'
$ json 'c|b' 'b,c'
{"b":1,"c":2}
$ json 'c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b' 'z'
$ json 'c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b' 'a'
$ json 'c|~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c|~b' 'b'
$ json 'c|~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'c|~b' 'c'
$ json 'c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b' 'a,b'
$ json 'c|~b' 'a,c'
{"a":0,"c":2}
$ json 'c|~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'c|~b' 'b,c'
$ json 'c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b' 'z'
$ json 'c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c' 'a'
$ json 'c|~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c|~c' 'b'
$ json 'c|~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'c|~c' 'c'
$ json 'c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c' 'a,b'
$ json 'c|~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'c|~c' 'a,c'
$ json 'c|~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'c|~c' 'b,c'
$ json 'c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c' 'z'
$ json '~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a' 'a'
$ json '~c|a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c|a' 'b'
$ json '~c|a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c|a' 'c'
$ json '~c|a' 'a,b'
{"a":0,"b":1}
$ json '~c|a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c|a' 'a,c'
$ json '~c|a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c|a' 'b,c'
$ json '~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a' 'z'
$ json '~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a' 'a'
$ json '~c|~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c|~a' 'b'
$ json '~c|~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c|~a' 'c'
$ json '~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a' 'a,b'
$ json '~c|~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c|~a' 'a,c'
$ json '~c|~a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c|~a' 'b,c'
$ json '~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a' 'z'
$ json '~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b' 'a'
$ json '~c|b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c|b' 'b'
$ json '~c|b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c|b' 'c'
$ json '~c|b' 'a,b'
{"a":0,"b":1}
$ json '~c|b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c|b' 'a,c'
$ json '~c|b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c|b' 'b,c'
$ json '~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b' 'z'
$ json '~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b' 'a'
$ json '~c|~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c|~b' 'b'
$ json '~c|~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c|~b' 'c'
$ json '~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b' 'a,b'
$ json '~c|~b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c|~b' 'a,c'
$ json '~c|~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c|~b' 'b,c'
$ json '~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b' 'z'
$ json '~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c' 'a'
$ json '~c|c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c|c' 'b'
$ json '~c|c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c|c' 'c'
$ json '~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c' 'a,b'
$ json '~c|c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c|c' 'a,c'
$ json '~c|c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c|c' 'b,c'
$ json '~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c' 'z'
$ json 'a||~a' 'a'
{"a":0}
$ json 'a||~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a||~a' 'b'
$ json 'a||~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a||~a' 'c'
$ json 'a||~a' 'a,b'
{"a":0,"b":1}
$ json 'a||~a' 'a,c'
{"a":0,"c":2}
$ json 'a||~a' 'b,c'
{"b":1,"c":2}
$ json 'a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a' 'z'
$ json 'a||b' 'a'
{"a":0}
$ json 'a||b' 'b'
{"b":1}
$ json 'a||b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a||b' 'c'
$ json 'a||b' 'a,b'
{"a":0,"b":1}
$ json 'a||b' 'a,c'
{"a":0,"c":2}
$ json 'a||b' 'b,c'
{"b":1,"c":2}
$ json 'a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b' 'z'
$ json 'a||~b' 'a'
{"a":0}
$ json 'a||~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a||~b' 'b'
$ json 'a||~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a||~b' 'c'
$ json 'a||~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~b' 'a,c'
{"a":0,"c":2}
$ json 'a||~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a||~b' 'b,c'
$ json 'a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b' 'z'
$ json 'a||c' 'a'
{"a":0}
$ json 'a||c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a||c' 'b'
$ json 'a||c' 'c'
{"c":2}
$ json 'a||c' 'a,b'
{"a":0,"b":1}
$ json 'a||c' 'a,c'
{"a":0,"c":2}
$ json 'a||c' 'b,c'
{"b":1,"c":2}
$ json 'a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c' 'z'
$ json 'a||~c' 'a'
{"a":0}
$ json 'a||~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'a||~c' 'b'
$ json 'a||~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'a||~c' 'c'
$ json 'a||~c' 'a,b'
{"a":0,"b":1}
$ json 'a||~c' 'a,c'
{"a":0,"c":2}
$ json 'a||~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json 'a||~c' 'b,c'
$ json 'a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c' 'z'
$ json '~a||a' 'a'
{"a":0}
$ json '~a||a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a||a' 'b'
$ json '~a||a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a||a' 'c'
$ json '~a||a' 'a,b'
{"a":0,"b":1}
$ json '~a||a' 'a,c'
{"a":0,"c":2}
$ json '~a||a' 'b,c'
{"b":1,"c":2}
$ json '~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a' 'z'
$ json '~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b' 'a'
$ json '~a||b' 'b'
{"b":1}
$ json '~a||b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a||b' 'c'
$ json '~a||b' 'a,b'
{"a":0,"b":1}
$ json '~a||b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a||b' 'a,c'
$ json '~a||b' 'b,c'
{"b":1,"c":2}
$ json '~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b' 'z'
$ json '~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b' 'a'
$ json '~a||~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a||~b' 'b'
$ json '~a||~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a||~b' 'c'
$ json '~a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~b' 'a,b'
$ json '~a||~b' 'a,c'
{"a":0,"c":2}
$ json '~a||~b' 'b,c'
{"b":1,"c":2}
$ json '~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b' 'z'
$ json '~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c' 'a'
$ json '~a||c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a||c' 'b'
$ json '~a||c' 'c'
{"c":2}
$ json '~a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||c' 'a,b'
$ json '~a||c' 'a,c'
{"a":0,"c":2}
$ json '~a||c' 'b,c'
{"b":1,"c":2}
$ json '~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c' 'z'
$ json '~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c' 'a'
$ json '~a||~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~a||~c' 'b'
$ json '~a||~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~a||~c' 'c'
$ json '~a||~c' 'a,b'
{"a":0,"b":1}
$ json '~a||~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~a||~c' 'a,c'
$ json '~a||~c' 'b,c'
{"b":1,"c":2}
$ json '~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c' 'z'
$ json 'b||a' 'a'
{"a":0}
$ json 'b||a' 'b'
{"b":1}
$ json 'b||a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b||a' 'c'
$ json 'b||a' 'a,b'
{"a":0,"b":1}
$ json 'b||a' 'a,c'
{"a":0,"c":2}
$ json 'b||a' 'b,c'
{"b":1,"c":2}
$ json 'b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a' 'z'
$ json 'b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a' 'a'
$ json 'b||~a' 'b'
{"b":1}
$ json 'b||~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b||~a' 'c'
$ json 'b||~a' 'a,b'
{"a":0,"b":1}
$ json 'b||~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b||~a' 'a,c'
$ json 'b||~a' 'b,c'
{"b":1,"c":2}
$ json 'b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a' 'z'
$ json 'b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b' 'a'
$ json 'b||~b' 'b'
{"b":1}
$ json 'b||~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b||~b' 'c'
$ json 'b||~b' 'a,b'
{"a":0,"b":1}
$ json 'b||~b' 'a,c'
{"a":0,"c":2}
$ json 'b||~b' 'b,c'
{"b":1,"c":2}
$ json 'b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b' 'z'
$ json 'b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c' 'a'
$ json 'b||c' 'b'
{"b":1}
$ json 'b||c' 'c'
{"c":2}
$ json 'b||c' 'a,b'
{"a":0,"b":1}
$ json 'b||c' 'a,c'
{"a":0,"c":2}
$ json 'b||c' 'b,c'
{"b":1,"c":2}
$ json 'b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c' 'z'
$ json 'b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c' 'a'
$ json 'b||~c' 'b'
{"b":1}
$ json 'b||~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json 'b||~c' 'c'
$ json 'b||~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~c' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json 'b||~c' 'a,c'
$ json 'b||~c' 'b,c'
{"b":1,"c":2}
$ json 'b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c' 'z'
$ json '~b||a' 'a'
{"a":0}
$ json '~b||a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b||a' 'b'
$ json '~b||a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b||a' 'c'
$ json '~b||a' 'a,b'
{"a":0,"b":1}
$ json '~b||a' 'a,c'
{"a":0,"c":2}
$ json '~b||a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b||a' 'b,c'
$ json '~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a' 'z'
$ json '~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a' 'a'
$ json '~b||~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b||~a' 'b'
$ json '~b||~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b||~a' 'c'
$ json '~b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~a' 'a,b'
$ json '~b||~a' 'a,c'
{"a":0,"c":2}
$ json '~b||~a' 'b,c'
{"b":1,"c":2}
$ json '~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a' 'z'
$ json '~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b' 'a'
$ json '~b||b' 'b'
{"b":1}
$ json '~b||b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b||b' 'c'
$ json '~b||b' 'a,b'
{"a":0,"b":1}
$ json '~b||b' 'a,c'
{"a":0,"c":2}
$ json '~b||b' 'b,c'
{"b":1,"c":2}
$ json '~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b' 'z'
$ json '~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c' 'a'
$ json '~b||c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b||c' 'b'
$ json '~b||c' 'c'
{"c":2}
$ json '~b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||c' 'a,b'
$ json '~b||c' 'a,c'
{"a":0,"c":2}
$ json '~b||c' 'b,c'
{"b":1,"c":2}
$ json '~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c' 'z'
$ json '~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c' 'a'
$ json '~b||~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~b||~c' 'b'
$ json '~b||~c' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~b||~c' 'c'
$ json '~b||~c' 'a,b'
{"a":0,"b":1}
$ json '~b||~c' 'a,c'
{"a":0,"c":2}
$ json '~b||~c' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~b||~c' 'b,c'
$ json '~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c' 'z'
$ json 'c||a' 'a'
{"a":0}
$ json 'c||a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c||a' 'b'
$ json 'c||a' 'c'
{"c":2}
$ json 'c||a' 'a,b'
{"a":0,"b":1}
$ json 'c||a' 'a,c'
{"a":0,"c":2}
$ json 'c||a' 'b,c'
{"b":1,"c":2}
$ json 'c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a' 'z'
$ json 'c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a' 'a'
$ json 'c||~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c||~a' 'b'
$ json 'c||~a' 'c'
{"c":2}
$ json 'c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~a' 'a,b'
$ json 'c||~a' 'a,c'
{"a":0,"c":2}
$ json 'c||~a' 'b,c'
{"b":1,"c":2}
$ json 'c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a' 'z'
$ json 'c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b' 'a'
$ json 'c||b' 'b'
{"b":1}
$ json 'c||b' 'c'
{"c":2}
$ json 'c||b' 'a,b'
{"a":0,"b":1}
$ json 'c||b' 'a,c'
{"a":0,"c":2}
$ json 'c||b' 'b,c'
{"b":1,"c":2}
$ json 'c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b' 'z'
$ json 'c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b' 'a'
$ json 'c||~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c||~b' 'b'
$ json 'c||~b' 'c'
{"c":2}
$ json 'c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~b' 'a,b'
$ json 'c||~b' 'a,c'
{"a":0,"c":2}
$ json 'c||~b' 'b,c'
{"b":1,"c":2}
$ json 'c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b' 'z'
$ json 'c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c' 'a'
$ json 'c||~c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json 'c||~c' 'b'
$ json 'c||~c' 'c'
{"c":2}
$ json 'c||~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~c' 'a,c'
{"a":0,"c":2}
$ json 'c||~c' 'b,c'
{"b":1,"c":2}
$ json 'c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c' 'z'
$ json '~c||a' 'a'
{"a":0}
$ json '~c||a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c||a' 'b'
$ json '~c||a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c||a' 'c'
$ json '~c||a' 'a,b'
{"a":0,"b":1}
$ json '~c||a' 'a,c'
{"a":0,"c":2}
$ json '~c||a' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c||a' 'b,c'
$ json '~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a' 'z'
$ json '~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a' 'a'
$ json '~c||~a' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c||~a' 'b'
$ json '~c||~a' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c||~a' 'c'
$ json '~c||~a' 'a,b'
{"a":0,"b":1}
$ json '~c||~a' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c||~a' 'a,c'
$ json '~c||~a' 'b,c'
{"b":1,"c":2}
$ json '~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a' 'z'
$ json '~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b' 'a'
$ json '~c||b' 'b'
{"b":1}
$ json '~c||b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c||b' 'c'
$ json '~c||b' 'a,b'
{"a":0,"b":1}
$ json '~c||b' 'a,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:13: {"a":0,"c":2}
json: error: <stdin>:1:13:             ^
{"a":0,"c":2}
command failed: json '~c||b' 'a,c'
$ json '~c||b' 'b,c'
{"b":1,"c":2}
$ json '~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b' 'z'
$ json '~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b' 'a'
$ json '~c||~b' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c||~b' 'b'
$ json '~c||~b' 'c'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"
json: error: <stdin>:1:7: {"c":2}
json: error: <stdin>:1:7:       ^
{"c":2}
command failed: json '~c||~b' 'c'
$ json '~c||~b' 'a,b'
{"a":0,"b":1}
$ json '~c||~b' 'a,c'
{"a":0,"c":2}
$ json '~c||~b' 'b,c'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:13: {"b":1,"c":2}
json: error: <stdin>:1:13:             ^
{"b":1,"c":2}
command failed: json '~c||~b' 'b,c'
$ json '~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b' 'z'
$ json '~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c' 'a'
$ json '~c||c' 'b'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:7: {"b":1}
json: error: <stdin>:1:7:       ^
{"b":1}
command failed: json '~c||c' 'b'
$ json '~c||c' 'c'
{"c":2}
$ json '~c||c' 'a,b'
{"a":0,"b":1}
$ json '~c||c' 'a,c'
{"a":0,"c":2}
$ json '~c||c' 'b,c'
{"b":1,"c":2}
$ json '~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c' 'z'
$

--[ dict-expr3 ]----------------------------------------------------------------

$ json() { set -o pipefail && ../lib/test-gen --dict -V -d1 -k3 -ae "$2"|LD_LIBRARY_PATH=../lib ../src/json -EV -t <(../lib/test-gen --dict -T -d1 -k3 -ae "$1"); }
#
# # meta command:
# $ for o1 in ' ' '|' '||'; do for o2 in ' ' '|' '||'; do for x in a '~a' b '~b' c '~c'; do for y in a '~a' b '~b' c '~c'; do for z in a '~a' b '~b' c '~c'; do [ "$x" == "$y" -o "$y" == "$z" -o "$z" == "$x" ] && continue; c="json '$x$o1$y$o2$z' 'a'"; echo "$ $c"; eval "$c 2>&1" || echo "command failed: $c"; done; done; done; done; done
#
$ json 'a ~a b' 'a'
{"a":0}
$ json 'a ~a ~b' 'a'
{"a":0}
$ json 'a ~a c' 'a'
{"a":0}
$ json 'a ~a ~c' 'a'
{"a":0}
$ json 'a b ~a' 'a'
{"a":0}
$ json 'a b ~b' 'a'
{"a":0}
$ json 'a b c' 'a'
{"a":0}
$ json 'a b ~c' 'a'
{"a":0}
$ json 'a ~b ~a' 'a'
{"a":0}
$ json 'a ~b b' 'a'
{"a":0}
$ json 'a ~b c' 'a'
{"a":0}
$ json 'a ~b ~c' 'a'
{"a":0}
$ json 'a c ~a' 'a'
{"a":0}
$ json 'a c b' 'a'
{"a":0}
$ json 'a c ~b' 'a'
{"a":0}
$ json 'a c ~c' 'a'
{"a":0}
$ json 'a ~c ~a' 'a'
{"a":0}
$ json 'a ~c b' 'a'
{"a":0}
$ json 'a ~c ~b' 'a'
{"a":0}
$ json 'a ~c c' 'a'
{"a":0}
$ json '~a a b' 'a'
{"a":0}
$ json '~a a ~b' 'a'
{"a":0}
$ json '~a a c' 'a'
{"a":0}
$ json '~a a ~c' 'a'
{"a":0}
$ json '~a b a' 'a'
{"a":0}
$ json '~a b ~b' 'a'
{"a":0}
$ json '~a b c' 'a'
{"a":0}
$ json '~a b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b ~c' 'a'
$ json '~a ~b a' 'a'
{"a":0}
$ json '~a ~b b' 'a'
{"a":0}
$ json '~a ~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b c' 'a'
$ json '~a ~b ~c' 'a'
{"a":0}
$ json '~a c a' 'a'
{"a":0}
$ json '~a c b' 'a'
{"a":0}
$ json '~a c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c ~b' 'a'
$ json '~a c ~c' 'a'
{"a":0}
$ json '~a ~c a' 'a'
{"a":0}
$ json '~a ~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c b' 'a'
$ json '~a ~c ~b' 'a'
{"a":0}
$ json '~a ~c c' 'a'
{"a":0}
$ json 'b a ~a' 'a'
{"a":0}
$ json 'b a ~b' 'a'
{"a":0}
$ json 'b a c' 'a'
{"a":0}
$ json 'b a ~c' 'a'
{"a":0}
$ json 'b ~a a' 'a'
{"a":0}
$ json 'b ~a ~b' 'a'
{"a":0}
$ json 'b ~a c' 'a'
{"a":0}
$ json 'b ~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a ~c' 'a'
$ json 'b ~b a' 'a'
{"a":0}
$ json 'b ~b ~a' 'a'
{"a":0}
$ json 'b ~b c' 'a'
{"a":0}
$ json 'b ~b ~c' 'a'
{"a":0}
$ json 'b c a' 'a'
{"a":0}
$ json 'b c ~a' 'a'
{"a":0}
$ json 'b c ~b' 'a'
{"a":0}
$ json 'b c ~c' 'a'
{"a":0}
$ json 'b ~c a' 'a'
{"a":0}
$ json 'b ~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c ~a' 'a'
$ json 'b ~c ~b' 'a'
{"a":0}
$ json 'b ~c c' 'a'
{"a":0}
$ json '~b a ~a' 'a'
{"a":0}
$ json '~b a b' 'a'
{"a":0}
$ json '~b a c' 'a'
{"a":0}
$ json '~b a ~c' 'a'
{"a":0}
$ json '~b ~a a' 'a'
{"a":0}
$ json '~b ~a b' 'a'
{"a":0}
$ json '~b ~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a c' 'a'
$ json '~b ~a ~c' 'a'
{"a":0}
$ json '~b b a' 'a'
{"a":0}
$ json '~b b ~a' 'a'
{"a":0}
$ json '~b b c' 'a'
{"a":0}
$ json '~b b ~c' 'a'
{"a":0}
$ json '~b c a' 'a'
{"a":0}
$ json '~b c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c ~a' 'a'
$ json '~b c b' 'a'
{"a":0}
$ json '~b c ~c' 'a'
{"a":0}
$ json '~b ~c a' 'a'
{"a":0}
$ json '~b ~c ~a' 'a'
{"a":0}
$ json '~b ~c b' 'a'
{"a":0}
$ json '~b ~c c' 'a'
{"a":0}
$ json 'c a ~a' 'a'
{"a":0}
$ json 'c a b' 'a'
{"a":0}
$ json 'c a ~b' 'a'
{"a":0}
$ json 'c a ~c' 'a'
{"a":0}
$ json 'c ~a a' 'a'
{"a":0}
$ json 'c ~a b' 'a'
{"a":0}
$ json 'c ~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a ~b' 'a'
$ json 'c ~a ~c' 'a'
{"a":0}
$ json 'c b a' 'a'
{"a":0}
$ json 'c b ~a' 'a'
{"a":0}
$ json 'c b ~b' 'a'
{"a":0}
$ json 'c b ~c' 'a'
{"a":0}
$ json 'c ~b a' 'a'
{"a":0}
$ json 'c ~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b ~a' 'a'
$ json 'c ~b b' 'a'
{"a":0}
$ json 'c ~b ~c' 'a'
{"a":0}
$ json 'c ~c a' 'a'
{"a":0}
$ json 'c ~c ~a' 'a'
{"a":0}
$ json 'c ~c b' 'a'
{"a":0}
$ json 'c ~c ~b' 'a'
{"a":0}
$ json '~c a ~a' 'a'
{"a":0}
$ json '~c a b' 'a'
{"a":0}
$ json '~c a ~b' 'a'
{"a":0}
$ json '~c a c' 'a'
{"a":0}
$ json '~c ~a a' 'a'
{"a":0}
$ json '~c ~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a b' 'a'
$ json '~c ~a ~b' 'a'
{"a":0}
$ json '~c ~a c' 'a'
{"a":0}
$ json '~c b a' 'a'
{"a":0}
$ json '~c b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b ~a' 'a'
$ json '~c b ~b' 'a'
{"a":0}
$ json '~c b c' 'a'
{"a":0}
$ json '~c ~b a' 'a'
{"a":0}
$ json '~c ~b ~a' 'a'
{"a":0}
$ json '~c ~b b' 'a'
{"a":0}
$ json '~c ~b c' 'a'
{"a":0}
$ json '~c c a' 'a'
{"a":0}
$ json '~c c ~a' 'a'
{"a":0}
$ json '~c c b' 'a'
{"a":0}
$ json '~c c ~b' 'a'
{"a":0}
$ json 'a ~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~a|b' 'a'
$ json 'a ~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~a|~b' 'a'
$ json 'a ~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~a|c' 'a'
$ json 'a ~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~a|~c' 'a'
$ json 'a b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a b|~a' 'a'
$ json 'a b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a b|~b' 'a'
$ json 'a b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a b|c' 'a'
$ json 'a b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a b|~c' 'a'
$ json 'a ~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~b|~a' 'a'
$ json 'a ~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~b|b' 'a'
$ json 'a ~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~b|c' 'a'
$ json 'a ~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~b|~c' 'a'
$ json 'a c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a c|~a' 'a'
$ json 'a c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a c|b' 'a'
$ json 'a c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a c|~b' 'a'
$ json 'a c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a c|~c' 'a'
$ json 'a ~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~c|~a' 'a'
$ json 'a ~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~c|b' 'a'
$ json 'a ~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~c|~b' 'a'
$ json 'a ~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a ~c|c' 'a'
$ json '~a a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a a|b' 'a'
$ json '~a a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a a|~b' 'a'
$ json '~a a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a a|c' 'a'
$ json '~a a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a a|~c' 'a'
$ json '~a b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b|a' 'a'
$ json '~a b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b|~b' 'a'
$ json '~a b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b|c' 'a'
$ json '~a b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b|~c' 'a'
$ json '~a ~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b|a' 'a'
$ json '~a ~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b|b' 'a'
$ json '~a ~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b|c' 'a'
$ json '~a ~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b|~c' 'a'
$ json '~a c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c|a' 'a'
$ json '~a c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c|b' 'a'
$ json '~a c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c|~b' 'a'
$ json '~a c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c|~c' 'a'
$ json '~a ~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c|a' 'a'
$ json '~a ~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c|b' 'a'
$ json '~a ~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c|~b' 'a'
$ json '~a ~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c|c' 'a'
$ json 'b a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b a|~a' 'a'
$ json 'b a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b a|~b' 'a'
$ json 'b a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b a|c' 'a'
$ json 'b a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b a|~c' 'a'
$ json 'b ~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a|a' 'a'
$ json 'b ~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a|~b' 'a'
$ json 'b ~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a|c' 'a'
$ json 'b ~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a|~c' 'a'
$ json 'b ~b|a' 'a'
{"a":0}
$ json 'b ~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~b|~a' 'a'
$ json 'b ~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~b|c' 'a'
$ json 'b ~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~b|~c' 'a'
$ json 'b c|a' 'a'
{"a":0}
$ json 'b c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b c|~a' 'a'
$ json 'b c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b c|~b' 'a'
$ json 'b c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b c|~c' 'a'
$ json 'b ~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c|a' 'a'
$ json 'b ~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c|~a' 'a'
$ json 'b ~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c|~b' 'a'
$ json 'b ~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c|c' 'a'
$ json '~b a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b a|~a' 'a'
$ json '~b a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b a|b' 'a'
$ json '~b a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b a|c' 'a'
$ json '~b a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b a|~c' 'a'
$ json '~b ~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a|a' 'a'
$ json '~b ~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a|b' 'a'
$ json '~b ~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a|c' 'a'
$ json '~b ~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a|~c' 'a'
$ json '~b b|a' 'a'
{"a":0}
$ json '~b b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b b|~a' 'a'
$ json '~b b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b b|c' 'a'
$ json '~b b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b b|~c' 'a'
$ json '~b c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c|a' 'a'
$ json '~b c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c|~a' 'a'
$ json '~b c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c|b' 'a'
$ json '~b c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c|~c' 'a'
$ json '~b ~c|a' 'a'
{"a":0}
$ json '~b ~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~c|~a' 'a'
$ json '~b ~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~c|b' 'a'
$ json '~b ~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~c|c' 'a'
$ json 'c a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c a|~a' 'a'
$ json 'c a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c a|b' 'a'
$ json 'c a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c a|~b' 'a'
$ json 'c a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c a|~c' 'a'
$ json 'c ~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a|a' 'a'
$ json 'c ~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a|b' 'a'
$ json 'c ~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a|~b' 'a'
$ json 'c ~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a|~c' 'a'
$ json 'c b|a' 'a'
{"a":0}
$ json 'c b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c b|~a' 'a'
$ json 'c b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c b|~b' 'a'
$ json 'c b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c b|~c' 'a'
$ json 'c ~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b|a' 'a'
$ json 'c ~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b|~a' 'a'
$ json 'c ~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b|b' 'a'
$ json 'c ~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b|~c' 'a'
$ json 'c ~c|a' 'a'
{"a":0}
$ json 'c ~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~c|~a' 'a'
$ json 'c ~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~c|b' 'a'
$ json 'c ~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~c|~b' 'a'
$ json '~c a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c a|~a' 'a'
$ json '~c a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c a|b' 'a'
$ json '~c a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c a|~b' 'a'
$ json '~c a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c a|c' 'a'
$ json '~c ~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a|a' 'a'
$ json '~c ~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a|b' 'a'
$ json '~c ~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a|~b' 'a'
$ json '~c ~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a|c' 'a'
$ json '~c b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b|a' 'a'
$ json '~c b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b|~a' 'a'
$ json '~c b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b|~b' 'a'
$ json '~c b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b|c' 'a'
$ json '~c ~b|a' 'a'
{"a":0}
$ json '~c ~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~b|~a' 'a'
$ json '~c ~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~b|b' 'a'
$ json '~c ~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~b|c' 'a'
$ json '~c c|a' 'a'
{"a":0}
$ json '~c c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c c|~a' 'a'
$ json '~c c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c c|b' 'a'
$ json '~c c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c c|~b' 'a'
$ json 'a ~a||b' 'a'
{"a":0}
$ json 'a ~a||~b' 'a'
{"a":0}
$ json 'a ~a||c' 'a'
{"a":0}
$ json 'a ~a||~c' 'a'
{"a":0}
$ json 'a b||~a' 'a'
{"a":0}
$ json 'a b||~b' 'a'
{"a":0}
$ json 'a b||c' 'a'
{"a":0}
$ json 'a b||~c' 'a'
{"a":0}
$ json 'a ~b||~a' 'a'
{"a":0}
$ json 'a ~b||b' 'a'
{"a":0}
$ json 'a ~b||c' 'a'
{"a":0}
$ json 'a ~b||~c' 'a'
{"a":0}
$ json 'a c||~a' 'a'
{"a":0}
$ json 'a c||b' 'a'
{"a":0}
$ json 'a c||~b' 'a'
{"a":0}
$ json 'a c||~c' 'a'
{"a":0}
$ json 'a ~c||~a' 'a'
{"a":0}
$ json 'a ~c||b' 'a'
{"a":0}
$ json 'a ~c||~b' 'a'
{"a":0}
$ json 'a ~c||c' 'a'
{"a":0}
$ json '~a a||b' 'a'
{"a":0}
$ json '~a a||~b' 'a'
{"a":0}
$ json '~a a||c' 'a'
{"a":0}
$ json '~a a||~c' 'a'
{"a":0}
$ json '~a b||a' 'a'
{"a":0}
$ json '~a b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b||~b' 'a'
$ json '~a b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b||c' 'a'
$ json '~a b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a b||~c' 'a'
$ json '~a ~b||a' 'a'
{"a":0}
$ json '~a ~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b||b' 'a'
$ json '~a ~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b||c' 'a'
$ json '~a ~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~b||~c' 'a'
$ json '~a c||a' 'a'
{"a":0}
$ json '~a c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c||b' 'a'
$ json '~a c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c||~b' 'a'
$ json '~a c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a c||~c' 'a'
$ json '~a ~c||a' 'a'
{"a":0}
$ json '~a ~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c||b' 'a'
$ json '~a ~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c||~b' 'a'
$ json '~a ~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a ~c||c' 'a'
$ json 'b a||~a' 'a'
{"a":0}
$ json 'b a||~b' 'a'
{"a":0}
$ json 'b a||c' 'a'
{"a":0}
$ json 'b a||~c' 'a'
{"a":0}
$ json 'b ~a||a' 'a'
{"a":0}
$ json 'b ~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a||~b' 'a'
$ json 'b ~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a||c' 'a'
$ json 'b ~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~a||~c' 'a'
$ json 'b ~b||a' 'a'
{"a":0}
$ json 'b ~b||~a' 'a'
{"a":0}
$ json 'b ~b||c' 'a'
{"a":0}
$ json 'b ~b||~c' 'a'
{"a":0}
$ json 'b c||a' 'a'
{"a":0}
$ json 'b c||~a' 'a'
{"a":0}
$ json 'b c||~b' 'a'
{"a":0}
$ json 'b c||~c' 'a'
{"a":0}
$ json 'b ~c||a' 'a'
{"a":0}
$ json 'b ~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c||~a' 'a'
$ json 'b ~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c||~b' 'a'
$ json 'b ~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b ~c||c' 'a'
$ json '~b a||~a' 'a'
{"a":0}
$ json '~b a||b' 'a'
{"a":0}
$ json '~b a||c' 'a'
{"a":0}
$ json '~b a||~c' 'a'
{"a":0}
$ json '~b ~a||a' 'a'
{"a":0}
$ json '~b ~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a||b' 'a'
$ json '~b ~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a||c' 'a'
$ json '~b ~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b ~a||~c' 'a'
$ json '~b b||a' 'a'
{"a":0}
$ json '~b b||~a' 'a'
{"a":0}
$ json '~b b||c' 'a'
{"a":0}
$ json '~b b||~c' 'a'
{"a":0}
$ json '~b c||a' 'a'
{"a":0}
$ json '~b c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c||~a' 'a'
$ json '~b c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c||b' 'a'
$ json '~b c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b c||~c' 'a'
$ json '~b ~c||a' 'a'
{"a":0}
$ json '~b ~c||~a' 'a'
{"a":0}
$ json '~b ~c||b' 'a'
{"a":0}
$ json '~b ~c||c' 'a'
{"a":0}
$ json 'c a||~a' 'a'
{"a":0}
$ json 'c a||b' 'a'
{"a":0}
$ json 'c a||~b' 'a'
{"a":0}
$ json 'c a||~c' 'a'
{"a":0}
$ json 'c ~a||a' 'a'
{"a":0}
$ json 'c ~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a||b' 'a'
$ json 'c ~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a||~b' 'a'
$ json 'c ~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~a||~c' 'a'
$ json 'c b||a' 'a'
{"a":0}
$ json 'c b||~a' 'a'
{"a":0}
$ json 'c b||~b' 'a'
{"a":0}
$ json 'c b||~c' 'a'
{"a":0}
$ json 'c ~b||a' 'a'
{"a":0}
$ json 'c ~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b||~a' 'a'
$ json 'c ~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b||b' 'a'
$ json 'c ~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c ~b||~c' 'a'
$ json 'c ~c||a' 'a'
{"a":0}
$ json 'c ~c||~a' 'a'
{"a":0}
$ json 'c ~c||b' 'a'
{"a":0}
$ json 'c ~c||~b' 'a'
{"a":0}
$ json '~c a||~a' 'a'
{"a":0}
$ json '~c a||b' 'a'
{"a":0}
$ json '~c a||~b' 'a'
{"a":0}
$ json '~c a||c' 'a'
{"a":0}
$ json '~c ~a||a' 'a'
{"a":0}
$ json '~c ~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a||b' 'a'
$ json '~c ~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a||~b' 'a'
$ json '~c ~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c ~a||c' 'a'
$ json '~c b||a' 'a'
{"a":0}
$ json '~c b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b||~a' 'a'
$ json '~c b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b||~b' 'a'
$ json '~c b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c b||c' 'a'
$ json '~c ~b||a' 'a'
{"a":0}
$ json '~c ~b||~a' 'a'
{"a":0}
$ json '~c ~b||b' 'a'
{"a":0}
$ json '~c ~b||c' 'a'
{"a":0}
$ json '~c c||a' 'a'
{"a":0}
$ json '~c c||~a' 'a'
{"a":0}
$ json '~c c||b' 'a'
{"a":0}
$ json '~c c||~b' 'a'
{"a":0}
$ json 'a|~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a b' 'a'
$ json 'a|~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a ~b' 'a'
$ json 'a|~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a c' 'a'
$ json 'a|~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a ~c' 'a'
$ json 'a|b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b ~a' 'a'
$ json 'a|b ~b' 'a'
{"a":0}
$ json 'a|b c' 'a'
{"a":0}
$ json 'a|b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b ~c' 'a'
$ json 'a|~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b ~a' 'a'
$ json 'a|~b b' 'a'
{"a":0}
$ json 'a|~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b c' 'a'
$ json 'a|~b ~c' 'a'
{"a":0}
$ json 'a|c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c ~a' 'a'
$ json 'a|c b' 'a'
{"a":0}
$ json 'a|c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c ~b' 'a'
$ json 'a|c ~c' 'a'
{"a":0}
$ json 'a|~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c ~a' 'a'
$ json 'a|~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c b' 'a'
$ json 'a|~c ~b' 'a'
{"a":0}
$ json 'a|~c c' 'a'
{"a":0}
$ json '~a|a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a b' 'a'
$ json '~a|a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a ~b' 'a'
$ json '~a|a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a c' 'a'
$ json '~a|a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a ~c' 'a'
$ json '~a|b a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b a' 'a'
$ json '~a|b ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b ~b' 'a'
$ json '~a|b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b c' 'a'
$ json '~a|b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b ~c' 'a'
$ json '~a|~b a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b a' 'a'
$ json '~a|~b b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b b' 'a'
$ json '~a|~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b c' 'a'
$ json '~a|~b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b ~c' 'a'
$ json '~a|c a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c a' 'a'
$ json '~a|c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c b' 'a'
$ json '~a|c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c ~b' 'a'
$ json '~a|c ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c ~c' 'a'
$ json '~a|~c a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c a' 'a'
$ json '~a|~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c b' 'a'
$ json '~a|~c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c ~b' 'a'
$ json '~a|~c c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c c' 'a'
$ json 'b|a ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a ~a' 'a'
$ json 'b|a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a ~b' 'a'
$ json 'b|a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a c' 'a'
$ json 'b|a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a ~c' 'a'
$ json 'b|~a a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a a' 'a'
$ json 'b|~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a ~b' 'a'
$ json 'b|~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a c' 'a'
$ json 'b|~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a ~c' 'a'
$ json 'b|~b a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b a' 'a'
$ json 'b|~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b ~a' 'a'
$ json 'b|~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b c' 'a'
$ json 'b|~b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b ~c' 'a'
$ json 'b|c a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c a' 'a'
$ json 'b|c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c ~a' 'a'
$ json 'b|c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c ~b' 'a'
$ json 'b|c ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c ~c' 'a'
$ json 'b|~c a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c a' 'a'
$ json 'b|~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c ~a' 'a'
$ json 'b|~c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c ~b' 'a'
$ json 'b|~c c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c c' 'a'
$ json '~b|a ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a ~a' 'a'
$ json '~b|a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a b' 'a'
$ json '~b|a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a c' 'a'
$ json '~b|a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a ~c' 'a'
$ json '~b|~a a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a a' 'a'
$ json '~b|~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a b' 'a'
$ json '~b|~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a c' 'a'
$ json '~b|~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a ~c' 'a'
$ json '~b|b a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b a' 'a'
$ json '~b|b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b ~a' 'a'
$ json '~b|b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b c' 'a'
$ json '~b|b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b ~c' 'a'
$ json '~b|c a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c a' 'a'
$ json '~b|c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c ~a' 'a'
$ json '~b|c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c b' 'a'
$ json '~b|c ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c ~c' 'a'
$ json '~b|~c a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c a' 'a'
$ json '~b|~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c ~a' 'a'
$ json '~b|~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c b' 'a'
$ json '~b|~c c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c c' 'a'
$ json 'c|a ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a ~a' 'a'
$ json 'c|a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a b' 'a'
$ json 'c|a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a ~b' 'a'
$ json 'c|a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a ~c' 'a'
$ json 'c|~a a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a a' 'a'
$ json 'c|~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a b' 'a'
$ json 'c|~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a ~b' 'a'
$ json 'c|~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a ~c' 'a'
$ json 'c|b a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b a' 'a'
$ json 'c|b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b ~a' 'a'
$ json 'c|b ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b ~b' 'a'
$ json 'c|b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b ~c' 'a'
$ json 'c|~b a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b a' 'a'
$ json 'c|~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b ~a' 'a'
$ json 'c|~b b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b b' 'a'
$ json 'c|~b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b ~c' 'a'
$ json 'c|~c a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c a' 'a'
$ json 'c|~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c ~a' 'a'
$ json 'c|~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c b' 'a'
$ json 'c|~c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c ~b' 'a'
$ json '~c|a ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a ~a' 'a'
$ json '~c|a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a b' 'a'
$ json '~c|a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a ~b' 'a'
$ json '~c|a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a c' 'a'
$ json '~c|~a a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a a' 'a'
$ json '~c|~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a b' 'a'
$ json '~c|~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a ~b' 'a'
$ json '~c|~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a c' 'a'
$ json '~c|b a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b a' 'a'
$ json '~c|b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b ~a' 'a'
$ json '~c|b ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b ~b' 'a'
$ json '~c|b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b c' 'a'
$ json '~c|~b a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b a' 'a'
$ json '~c|~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b ~a' 'a'
$ json '~c|~b b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b b' 'a'
$ json '~c|~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b c' 'a'
$ json '~c|c a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c a' 'a'
$ json '~c|c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c ~a' 'a'
$ json '~c|c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c b' 'a'
$ json '~c|c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c ~b' 'a'
$ json 'a|~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a|b' 'a'
$ json 'a|~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a|~b' 'a'
$ json 'a|~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a|c' 'a'
$ json 'a|~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a|~c' 'a'
$ json 'a|b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b|~a' 'a'
$ json 'a|b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b|~b' 'a'
$ json 'a|b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b|c' 'a'
$ json 'a|b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b|~c' 'a'
$ json 'a|~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b|~a' 'a'
$ json 'a|~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b|b' 'a'
$ json 'a|~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b|c' 'a'
$ json 'a|~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b|~c' 'a'
$ json 'a|c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c|~a' 'a'
$ json 'a|c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c|b' 'a'
$ json 'a|c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c|~b' 'a'
$ json 'a|c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c|~c' 'a'
$ json 'a|~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c|~a' 'a'
$ json 'a|~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c|b' 'a'
$ json 'a|~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c|~b' 'a'
$ json 'a|~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c|c' 'a'
$ json '~a|a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a|b' 'a'
$ json '~a|a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a|~b' 'a'
$ json '~a|a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a|c' 'a'
$ json '~a|a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a|~c' 'a'
$ json '~a|b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b|a' 'a'
$ json '~a|b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b|~b' 'a'
$ json '~a|b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b|c' 'a'
$ json '~a|b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b|~c' 'a'
$ json '~a|~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b|a' 'a'
$ json '~a|~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b|b' 'a'
$ json '~a|~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b|c' 'a'
$ json '~a|~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b|~c' 'a'
$ json '~a|c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c|a' 'a'
$ json '~a|c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c|b' 'a'
$ json '~a|c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c|~b' 'a'
$ json '~a|c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c|~c' 'a'
$ json '~a|~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c|a' 'a'
$ json '~a|~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c|b' 'a'
$ json '~a|~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c|~b' 'a'
$ json '~a|~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c|c' 'a'
$ json 'b|a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a|~a' 'a'
$ json 'b|a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a|~b' 'a'
$ json 'b|a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a|c' 'a'
$ json 'b|a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a|~c' 'a'
$ json 'b|~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a|a' 'a'
$ json 'b|~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a|~b' 'a'
$ json 'b|~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a|c' 'a'
$ json 'b|~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a|~c' 'a'
$ json 'b|~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b|a' 'a'
$ json 'b|~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b|~a' 'a'
$ json 'b|~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b|c' 'a'
$ json 'b|~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b|~c' 'a'
$ json 'b|c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c|a' 'a'
$ json 'b|c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c|~a' 'a'
$ json 'b|c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c|~b' 'a'
$ json 'b|c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c|~c' 'a'
$ json 'b|~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c|a' 'a'
$ json 'b|~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c|~a' 'a'
$ json 'b|~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c|~b' 'a'
$ json 'b|~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c|c' 'a'
$ json '~b|a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a|~a' 'a'
$ json '~b|a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a|b' 'a'
$ json '~b|a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a|c' 'a'
$ json '~b|a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a|~c' 'a'
$ json '~b|~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a|a' 'a'
$ json '~b|~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a|b' 'a'
$ json '~b|~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a|c' 'a'
$ json '~b|~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a|~c' 'a'
$ json '~b|b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b|a' 'a'
$ json '~b|b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b|~a' 'a'
$ json '~b|b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b|c' 'a'
$ json '~b|b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b|~c' 'a'
$ json '~b|c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c|a' 'a'
$ json '~b|c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c|~a' 'a'
$ json '~b|c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c|b' 'a'
$ json '~b|c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c|~c' 'a'
$ json '~b|~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c|a' 'a'
$ json '~b|~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c|~a' 'a'
$ json '~b|~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c|b' 'a'
$ json '~b|~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c|c' 'a'
$ json 'c|a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a|~a' 'a'
$ json 'c|a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a|b' 'a'
$ json 'c|a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a|~b' 'a'
$ json 'c|a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a|~c' 'a'
$ json 'c|~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a|a' 'a'
$ json 'c|~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a|b' 'a'
$ json 'c|~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a|~b' 'a'
$ json 'c|~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a|~c' 'a'
$ json 'c|b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b|a' 'a'
$ json 'c|b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b|~a' 'a'
$ json 'c|b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b|~b' 'a'
$ json 'c|b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b|~c' 'a'
$ json 'c|~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b|a' 'a'
$ json 'c|~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b|~a' 'a'
$ json 'c|~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b|b' 'a'
$ json 'c|~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b|~c' 'a'
$ json 'c|~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c|a' 'a'
$ json 'c|~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c|~a' 'a'
$ json 'c|~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c|b' 'a'
$ json 'c|~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c|~b' 'a'
$ json '~c|a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a|~a' 'a'
$ json '~c|a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a|b' 'a'
$ json '~c|a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a|~b' 'a'
$ json '~c|a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a|c' 'a'
$ json '~c|~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a|a' 'a'
$ json '~c|~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a|b' 'a'
$ json '~c|~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a|~b' 'a'
$ json '~c|~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a|c' 'a'
$ json '~c|b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b|a' 'a'
$ json '~c|b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b|~a' 'a'
$ json '~c|b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b|~b' 'a'
$ json '~c|b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b|c' 'a'
$ json '~c|~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b|a' 'a'
$ json '~c|~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b|~a' 'a'
$ json '~c|~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b|b' 'a'
$ json '~c|~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b|c' 'a'
$ json '~c|c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c|a' 'a'
$ json '~c|c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c|~a' 'a'
$ json '~c|c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c|b' 'a'
$ json '~c|c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c|~b' 'a'
$ json 'a|~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a||b' 'a'
$ json 'a|~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a||~b' 'a'
$ json 'a|~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a||c' 'a'
$ json 'a|~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~a||~c' 'a'
$ json 'a|b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b||~a' 'a'
$ json 'a|b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b||~b' 'a'
$ json 'a|b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b||c' 'a'
$ json 'a|b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|b||~c' 'a'
$ json 'a|~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b||~a' 'a'
$ json 'a|~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b||b' 'a'
$ json 'a|~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b||c' 'a'
$ json 'a|~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~b||~c' 'a'
$ json 'a|c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c||~a' 'a'
$ json 'a|c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c||b' 'a'
$ json 'a|c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c||~b' 'a'
$ json 'a|c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|c||~c' 'a'
$ json 'a|~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c||~a' 'a'
$ json 'a|~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c||b' 'a'
$ json 'a|~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c||~b' 'a'
$ json 'a|~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'a|~c||c' 'a'
$ json '~a|a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a||b' 'a'
$ json '~a|a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a||~b' 'a'
$ json '~a|a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a||c' 'a'
$ json '~a|a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|a||~c' 'a'
$ json '~a|b||a' 'a'
{"a":0}
$ json '~a|b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b||~b' 'a'
$ json '~a|b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b||c' 'a'
$ json '~a|b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|b||~c' 'a'
$ json '~a|~b||a' 'a'
{"a":0}
$ json '~a|~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b||b' 'a'
$ json '~a|~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b||c' 'a'
$ json '~a|~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~b||~c' 'a'
$ json '~a|c||a' 'a'
{"a":0}
$ json '~a|c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c||b' 'a'
$ json '~a|c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c||~b' 'a'
$ json '~a|c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|c||~c' 'a'
$ json '~a|~c||a' 'a'
{"a":0}
$ json '~a|~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c||b' 'a'
$ json '~a|~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c||~b' 'a'
$ json '~a|~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a|~c||c' 'a'
$ json 'b|a||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a||~a' 'a'
$ json 'b|a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a||~b' 'a'
$ json 'b|a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a||c' 'a'
$ json 'b|a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|a||~c' 'a'
$ json 'b|~a||a' 'a'
{"a":0}
$ json 'b|~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a||~b' 'a'
$ json 'b|~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a||c' 'a'
$ json 'b|~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~a||~c' 'a'
$ json 'b|~b||a' 'a'
{"a":0}
$ json 'b|~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b||~a' 'a'
$ json 'b|~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b||c' 'a'
$ json 'b|~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~b||~c' 'a'
$ json 'b|c||a' 'a'
{"a":0}
$ json 'b|c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c||~a' 'a'
$ json 'b|c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c||~b' 'a'
$ json 'b|c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|c||~c' 'a'
$ json 'b|~c||a' 'a'
{"a":0}
$ json 'b|~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c||~a' 'a'
$ json 'b|~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c||~b' 'a'
$ json 'b|~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b|~c||c' 'a'
$ json '~b|a||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a||~a' 'a'
$ json '~b|a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a||b' 'a'
$ json '~b|a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a||c' 'a'
$ json '~b|a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|a||~c' 'a'
$ json '~b|~a||a' 'a'
{"a":0}
$ json '~b|~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a||b' 'a'
$ json '~b|~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a||c' 'a'
$ json '~b|~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~a||~c' 'a'
$ json '~b|b||a' 'a'
{"a":0}
$ json '~b|b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b||~a' 'a'
$ json '~b|b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b||c' 'a'
$ json '~b|b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|b||~c' 'a'
$ json '~b|c||a' 'a'
{"a":0}
$ json '~b|c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c||~a' 'a'
$ json '~b|c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c||b' 'a'
$ json '~b|c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|c||~c' 'a'
$ json '~b|~c||a' 'a'
{"a":0}
$ json '~b|~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c||~a' 'a'
$ json '~b|~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c||b' 'a'
$ json '~b|~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b|~c||c' 'a'
$ json 'c|a||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a||~a' 'a'
$ json 'c|a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a||b' 'a'
$ json 'c|a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a||~b' 'a'
$ json 'c|a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|a||~c' 'a'
$ json 'c|~a||a' 'a'
{"a":0}
$ json 'c|~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a||b' 'a'
$ json 'c|~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a||~b' 'a'
$ json 'c|~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~a||~c' 'a'
$ json 'c|b||a' 'a'
{"a":0}
$ json 'c|b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b||~a' 'a'
$ json 'c|b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b||~b' 'a'
$ json 'c|b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|b||~c' 'a'
$ json 'c|~b||a' 'a'
{"a":0}
$ json 'c|~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b||~a' 'a'
$ json 'c|~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b||b' 'a'
$ json 'c|~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~b||~c' 'a'
$ json 'c|~c||a' 'a'
{"a":0}
$ json 'c|~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c||~a' 'a'
$ json 'c|~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c||b' 'a'
$ json 'c|~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c|~c||~b' 'a'
$ json '~c|a||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a||~a' 'a'
$ json '~c|a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a||b' 'a'
$ json '~c|a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a||~b' 'a'
$ json '~c|a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|a||c' 'a'
$ json '~c|~a||a' 'a'
{"a":0}
$ json '~c|~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a||b' 'a'
$ json '~c|~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a||~b' 'a'
$ json '~c|~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~a||c' 'a'
$ json '~c|b||a' 'a'
{"a":0}
$ json '~c|b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b||~a' 'a'
$ json '~c|b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b||~b' 'a'
$ json '~c|b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|b||c' 'a'
$ json '~c|~b||a' 'a'
{"a":0}
$ json '~c|~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b||~a' 'a'
$ json '~c|~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b||b' 'a'
$ json '~c|~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|~b||c' 'a'
$ json '~c|c||a' 'a'
{"a":0}
$ json '~c|c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c||~a' 'a'
$ json '~c|c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c||b' 'a'
$ json '~c|c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c|c||~b' 'a'
$ json 'a||~a b' 'a'
{"a":0}
$ json 'a||~a ~b' 'a'
{"a":0}
$ json 'a||~a c' 'a'
{"a":0}
$ json 'a||~a ~c' 'a'
{"a":0}
$ json 'a||b ~a' 'a'
{"a":0}
$ json 'a||b ~b' 'a'
{"a":0}
$ json 'a||b c' 'a'
{"a":0}
$ json 'a||b ~c' 'a'
{"a":0}
$ json 'a||~b ~a' 'a'
{"a":0}
$ json 'a||~b b' 'a'
{"a":0}
$ json 'a||~b c' 'a'
{"a":0}
$ json 'a||~b ~c' 'a'
{"a":0}
$ json 'a||c ~a' 'a'
{"a":0}
$ json 'a||c b' 'a'
{"a":0}
$ json 'a||c ~b' 'a'
{"a":0}
$ json 'a||c ~c' 'a'
{"a":0}
$ json 'a||~c ~a' 'a'
{"a":0}
$ json 'a||~c b' 'a'
{"a":0}
$ json 'a||~c ~b' 'a'
{"a":0}
$ json 'a||~c c' 'a'
{"a":0}
$ json '~a||a b' 'a'
{"a":0}
$ json '~a||a ~b' 'a'
{"a":0}
$ json '~a||a c' 'a'
{"a":0}
$ json '~a||a ~c' 'a'
{"a":0}
$ json '~a||b a' 'a'
{"a":0}
$ json '~a||b ~b' 'a'
{"a":0}
$ json '~a||b c' 'a'
{"a":0}
$ json '~a||b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b ~c' 'a'
$ json '~a||~b a' 'a'
{"a":0}
$ json '~a||~b b' 'a'
{"a":0}
$ json '~a||~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b c' 'a'
$ json '~a||~b ~c' 'a'
{"a":0}
$ json '~a||c a' 'a'
{"a":0}
$ json '~a||c b' 'a'
{"a":0}
$ json '~a||c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c ~b' 'a'
$ json '~a||c ~c' 'a'
{"a":0}
$ json '~a||~c a' 'a'
{"a":0}
$ json '~a||~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c b' 'a'
$ json '~a||~c ~b' 'a'
{"a":0}
$ json '~a||~c c' 'a'
{"a":0}
$ json 'b||a ~a' 'a'
{"a":0}
$ json 'b||a ~b' 'a'
{"a":0}
$ json 'b||a c' 'a'
{"a":0}
$ json 'b||a ~c' 'a'
{"a":0}
$ json 'b||~a a' 'a'
{"a":0}
$ json 'b||~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a ~b' 'a'
$ json 'b||~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a c' 'a'
$ json 'b||~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a ~c' 'a'
$ json 'b||~b a' 'a'
{"a":0}
$ json 'b||~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b ~a' 'a'
$ json 'b||~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b c' 'a'
$ json 'b||~b ~c' 'a'
{"a":0}
$ json 'b||c a' 'a'
{"a":0}
$ json 'b||c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c ~a' 'a'
$ json 'b||c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c ~b' 'a'
$ json 'b||c ~c' 'a'
{"a":0}
$ json 'b||~c a' 'a'
{"a":0}
$ json 'b||~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c ~a' 'a'
$ json 'b||~c ~b' 'a'
{"a":0}
$ json 'b||~c c' 'a'
{"a":0}
$ json '~b||a ~a' 'a'
{"a":0}
$ json '~b||a b' 'a'
{"a":0}
$ json '~b||a c' 'a'
{"a":0}
$ json '~b||a ~c' 'a'
{"a":0}
$ json '~b||~a a' 'a'
{"a":0}
$ json '~b||~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a b' 'a'
$ json '~b||~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a c' 'a'
$ json '~b||~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a ~c' 'a'
$ json '~b||b a' 'a'
{"a":0}
$ json '~b||b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b ~a' 'a'
$ json '~b||b c' 'a'
{"a":0}
$ json '~b||b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b ~c' 'a'
$ json '~b||c a' 'a'
{"a":0}
$ json '~b||c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c ~a' 'a'
$ json '~b||c b' 'a'
{"a":0}
$ json '~b||c ~c' 'a'
{"a":0}
$ json '~b||~c a' 'a'
{"a":0}
$ json '~b||~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c ~a' 'a'
$ json '~b||~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c b' 'a'
$ json '~b||~c c' 'a'
{"a":0}
$ json 'c||a ~a' 'a'
{"a":0}
$ json 'c||a b' 'a'
{"a":0}
$ json 'c||a ~b' 'a'
{"a":0}
$ json 'c||a ~c' 'a'
{"a":0}
$ json 'c||~a a' 'a'
{"a":0}
$ json 'c||~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a b' 'a'
$ json 'c||~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a ~b' 'a'
$ json 'c||~a ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a ~c' 'a'
$ json 'c||b a' 'a'
{"a":0}
$ json 'c||b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b ~a' 'a'
$ json 'c||b ~b' 'a'
{"a":0}
$ json 'c||b ~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b ~c' 'a'
$ json 'c||~b a' 'a'
{"a":0}
$ json 'c||~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b ~a' 'a'
$ json 'c||~b b' 'a'
{"a":0}
$ json 'c||~b ~c' 'a'
{"a":0}
$ json 'c||~c a' 'a'
{"a":0}
$ json 'c||~c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c ~a' 'a'
$ json 'c||~c b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c b' 'a'
$ json 'c||~c ~b' 'a'
{"a":0}
$ json '~c||a ~a' 'a'
{"a":0}
$ json '~c||a b' 'a'
{"a":0}
$ json '~c||a ~b' 'a'
{"a":0}
$ json '~c||a c' 'a'
{"a":0}
$ json '~c||~a a' 'a'
{"a":0}
$ json '~c||~a b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a b' 'a'
$ json '~c||~a ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a ~b' 'a'
$ json '~c||~a c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a c' 'a'
$ json '~c||b a' 'a'
{"a":0}
$ json '~c||b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b ~a' 'a'
$ json '~c||b ~b' 'a'
{"a":0}
$ json '~c||b c' 'a'
{"a":0}
$ json '~c||~b a' 'a'
{"a":0}
$ json '~c||~b ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b ~a' 'a'
$ json '~c||~b b' 'a'
{"a":0}
$ json '~c||~b c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b c' 'a'
$ json '~c||c a' 'a'
{"a":0}
$ json '~c||c ~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c ~a' 'a'
$ json '~c||c b' 'a'
{"a":0}
$ json '~c||c ~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c ~b' 'a'
$ json 'a||~a|b' 'a'
{"a":0}
$ json 'a||~a|~b' 'a'
{"a":0}
$ json 'a||~a|c' 'a'
{"a":0}
$ json 'a||~a|~c' 'a'
{"a":0}
$ json 'a||b|~a' 'a'
{"a":0}
$ json 'a||b|~b' 'a'
{"a":0}
$ json 'a||b|c' 'a'
{"a":0}
$ json 'a||b|~c' 'a'
{"a":0}
$ json 'a||~b|~a' 'a'
{"a":0}
$ json 'a||~b|b' 'a'
{"a":0}
$ json 'a||~b|c' 'a'
{"a":0}
$ json 'a||~b|~c' 'a'
{"a":0}
$ json 'a||c|~a' 'a'
{"a":0}
$ json 'a||c|b' 'a'
{"a":0}
$ json 'a||c|~b' 'a'
{"a":0}
$ json 'a||c|~c' 'a'
{"a":0}
$ json 'a||~c|~a' 'a'
{"a":0}
$ json 'a||~c|b' 'a'
{"a":0}
$ json 'a||~c|~b' 'a'
{"a":0}
$ json 'a||~c|c' 'a'
{"a":0}
$ json '~a||a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||a|b' 'a'
$ json '~a||a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||a|~b' 'a'
$ json '~a||a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||a|c' 'a'
$ json '~a||a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||a|~c' 'a'
$ json '~a||b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b|a' 'a'
$ json '~a||b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b|~b' 'a'
$ json '~a||b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b|c' 'a'
$ json '~a||b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b|~c' 'a'
$ json '~a||~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b|a' 'a'
$ json '~a||~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b|b' 'a'
$ json '~a||~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b|c' 'a'
$ json '~a||~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b|~c' 'a'
$ json '~a||c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c|a' 'a'
$ json '~a||c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c|b' 'a'
$ json '~a||c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c|~b' 'a'
$ json '~a||c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c|~c' 'a'
$ json '~a||~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c|a' 'a'
$ json '~a||~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c|b' 'a'
$ json '~a||~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c|~b' 'a'
$ json '~a||~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c|c' 'a'
$ json 'b||a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||a|~a' 'a'
$ json 'b||a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||a|~b' 'a'
$ json 'b||a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||a|c' 'a'
$ json 'b||a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||a|~c' 'a'
$ json 'b||~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a|a' 'a'
$ json 'b||~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a|~b' 'a'
$ json 'b||~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a|c' 'a'
$ json 'b||~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a|~c' 'a'
$ json 'b||~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b|a' 'a'
$ json 'b||~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b|~a' 'a'
$ json 'b||~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b|c' 'a'
$ json 'b||~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b|~c' 'a'
$ json 'b||c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c|a' 'a'
$ json 'b||c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c|~a' 'a'
$ json 'b||c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c|~b' 'a'
$ json 'b||c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c|~c' 'a'
$ json 'b||~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c|a' 'a'
$ json 'b||~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c|~a' 'a'
$ json 'b||~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c|~b' 'a'
$ json 'b||~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c|c' 'a'
$ json '~b||a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||a|~a' 'a'
$ json '~b||a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||a|b' 'a'
$ json '~b||a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||a|c' 'a'
$ json '~b||a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||a|~c' 'a'
$ json '~b||~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a|a' 'a'
$ json '~b||~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a|b' 'a'
$ json '~b||~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a|c' 'a'
$ json '~b||~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a|~c' 'a'
$ json '~b||b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b|a' 'a'
$ json '~b||b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b|~a' 'a'
$ json '~b||b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b|c' 'a'
$ json '~b||b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b|~c' 'a'
$ json '~b||c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c|a' 'a'
$ json '~b||c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c|~a' 'a'
$ json '~b||c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c|b' 'a'
$ json '~b||c|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c|~c' 'a'
$ json '~b||~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c|a' 'a'
$ json '~b||~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c|~a' 'a'
$ json '~b||~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c|b' 'a'
$ json '~b||~c|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c|c' 'a'
$ json 'c||a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||a|~a' 'a'
$ json 'c||a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||a|b' 'a'
$ json 'c||a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||a|~b' 'a'
$ json 'c||a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||a|~c' 'a'
$ json 'c||~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a|a' 'a'
$ json 'c||~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a|b' 'a'
$ json 'c||~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a|~b' 'a'
$ json 'c||~a|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a|~c' 'a'
$ json 'c||b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b|a' 'a'
$ json 'c||b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b|~a' 'a'
$ json 'c||b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b|~b' 'a'
$ json 'c||b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b|~c' 'a'
$ json 'c||~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b|a' 'a'
$ json 'c||~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b|~a' 'a'
$ json 'c||~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b|b' 'a'
$ json 'c||~b|~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b|~c' 'a'
$ json 'c||~c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c|a' 'a'
$ json 'c||~c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c|~a' 'a'
$ json 'c||~c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c|b' 'a'
$ json 'c||~c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c|~b' 'a'
$ json '~c||a|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||a|~a' 'a'
$ json '~c||a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||a|b' 'a'
$ json '~c||a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||a|~b' 'a'
$ json '~c||a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||a|c' 'a'
$ json '~c||~a|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a|a' 'a'
$ json '~c||~a|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a|b' 'a'
$ json '~c||~a|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a|~b' 'a'
$ json '~c||~a|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a|c' 'a'
$ json '~c||b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b|a' 'a'
$ json '~c||b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b|~a' 'a'
$ json '~c||b|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b|~b' 'a'
$ json '~c||b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b|c' 'a'
$ json '~c||~b|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b|a' 'a'
$ json '~c||~b|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b|~a' 'a'
$ json '~c||~b|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b|b' 'a'
$ json '~c||~b|c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b|c' 'a'
$ json '~c||c|a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c|a' 'a'
$ json '~c||c|~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c|~a' 'a'
$ json '~c||c|b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c|b' 'a'
$ json '~c||c|~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c|~b' 'a'
$ json 'a||~a||b' 'a'
{"a":0}
$ json 'a||~a||~b' 'a'
{"a":0}
$ json 'a||~a||c' 'a'
{"a":0}
$ json 'a||~a||~c' 'a'
{"a":0}
$ json 'a||b||~a' 'a'
{"a":0}
$ json 'a||b||~b' 'a'
{"a":0}
$ json 'a||b||c' 'a'
{"a":0}
$ json 'a||b||~c' 'a'
{"a":0}
$ json 'a||~b||~a' 'a'
{"a":0}
$ json 'a||~b||b' 'a'
{"a":0}
$ json 'a||~b||c' 'a'
{"a":0}
$ json 'a||~b||~c' 'a'
{"a":0}
$ json 'a||c||~a' 'a'
{"a":0}
$ json 'a||c||b' 'a'
{"a":0}
$ json 'a||c||~b' 'a'
{"a":0}
$ json 'a||c||~c' 'a'
{"a":0}
$ json 'a||~c||~a' 'a'
{"a":0}
$ json 'a||~c||b' 'a'
{"a":0}
$ json 'a||~c||~b' 'a'
{"a":0}
$ json 'a||~c||c' 'a'
{"a":0}
$ json '~a||a||b' 'a'
{"a":0}
$ json '~a||a||~b' 'a'
{"a":0}
$ json '~a||a||c' 'a'
{"a":0}
$ json '~a||a||~c' 'a'
{"a":0}
$ json '~a||b||a' 'a'
{"a":0}
$ json '~a||b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b||~b' 'a'
$ json '~a||b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b||c' 'a'
$ json '~a||b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||b||~c' 'a'
$ json '~a||~b||a' 'a'
{"a":0}
$ json '~a||~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b||b' 'a'
$ json '~a||~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b||c' 'a'
$ json '~a||~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~b||~c' 'a'
$ json '~a||c||a' 'a'
{"a":0}
$ json '~a||c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c||b' 'a'
$ json '~a||c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c||~b' 'a'
$ json '~a||c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||c||~c' 'a'
$ json '~a||~c||a' 'a'
{"a":0}
$ json '~a||~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c||b' 'a'
$ json '~a||~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c||~b' 'a'
$ json '~a||~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~a||~c||c' 'a'
$ json 'b||a||~a' 'a'
{"a":0}
$ json 'b||a||~b' 'a'
{"a":0}
$ json 'b||a||c' 'a'
{"a":0}
$ json 'b||a||~c' 'a'
{"a":0}
$ json 'b||~a||a' 'a'
{"a":0}
$ json 'b||~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a||~b' 'a'
$ json 'b||~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a||c' 'a'
$ json 'b||~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~a||~c' 'a'
$ json 'b||~b||a' 'a'
{"a":0}
$ json 'b||~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b||~a' 'a'
$ json 'b||~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b||c' 'a'
$ json 'b||~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~b||~c' 'a'
$ json 'b||c||a' 'a'
{"a":0}
$ json 'b||c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c||~a' 'a'
$ json 'b||c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c||~b' 'a'
$ json 'b||c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||c||~c' 'a'
$ json 'b||~c||a' 'a'
{"a":0}
$ json 'b||~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c||~a' 'a'
$ json 'b||~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c||~b' 'a'
$ json 'b||~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'b||~c||c' 'a'
$ json '~b||a||~a' 'a'
{"a":0}
$ json '~b||a||b' 'a'
{"a":0}
$ json '~b||a||c' 'a'
{"a":0}
$ json '~b||a||~c' 'a'
{"a":0}
$ json '~b||~a||a' 'a'
{"a":0}
$ json '~b||~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a||b' 'a'
$ json '~b||~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a||c' 'a'
$ json '~b||~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~a||~c' 'a'
$ json '~b||b||a' 'a'
{"a":0}
$ json '~b||b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b||~a' 'a'
$ json '~b||b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b||c' 'a'
$ json '~b||b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||b||~c' 'a'
$ json '~b||c||a' 'a'
{"a":0}
$ json '~b||c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c||~a' 'a'
$ json '~b||c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c||b' 'a'
$ json '~b||c||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||c||~c' 'a'
$ json '~b||~c||a' 'a'
{"a":0}
$ json '~b||~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c||~a' 'a'
$ json '~b||~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c||b' 'a'
$ json '~b||~c||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~b||~c||c' 'a'
$ json 'c||a||~a' 'a'
{"a":0}
$ json 'c||a||b' 'a'
{"a":0}
$ json 'c||a||~b' 'a'
{"a":0}
$ json 'c||a||~c' 'a'
{"a":0}
$ json 'c||~a||a' 'a'
{"a":0}
$ json 'c||~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a||b' 'a'
$ json 'c||~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a||~b' 'a'
$ json 'c||~a||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~a||~c' 'a'
$ json 'c||b||a' 'a'
{"a":0}
$ json 'c||b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b||~a' 'a'
$ json 'c||b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b||~b' 'a'
$ json 'c||b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||b||~c' 'a'
$ json 'c||~b||a' 'a'
{"a":0}
$ json 'c||~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b||~a' 'a'
$ json 'c||~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b||b' 'a'
$ json 'c||~b||~c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~b||~c' 'a'
$ json 'c||~c||a' 'a'
{"a":0}
$ json 'c||~c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c||~a' 'a'
$ json 'c||~c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c||b' 'a'
$ json 'c||~c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json 'c||~c||~b' 'a'
$ json '~c||a||~a' 'a'
{"a":0}
$ json '~c||a||b' 'a'
{"a":0}
$ json '~c||a||~b' 'a'
{"a":0}
$ json '~c||a||c' 'a'
{"a":0}
$ json '~c||~a||a' 'a'
{"a":0}
$ json '~c||~a||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a||b' 'a'
$ json '~c||~a||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a||~b' 'a'
$ json '~c||~a||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~a||c' 'a'
$ json '~c||b||a' 'a'
{"a":0}
$ json '~c||b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b||~a' 'a'
$ json '~c||b||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b||~b' 'a'
$ json '~c||b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||b||c' 'a'
$ json '~c||~b||a' 'a'
{"a":0}
$ json '~c||~b||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b||~a' 'a'
$ json '~c||~b||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b||b' 'a'
$ json '~c||~b||c' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||~b||c' 'a'
$ json '~c||c||a' 'a'
{"a":0}
$ json '~c||c||~a' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c||~a' 'a'
$ json '~c||c||b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c||b' 'a'
$ json '~c||c||~b' 'a'
json: error: <stdin>:1:7: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:7: {"a":0}
json: error: <stdin>:1:7:       ^
{"a":0}
command failed: json '~c||c||~b' 'a'
$

--[ dict-expr4 ]----------------------------------------------------------------

$ json() { set -o pipefail && ../lib/test-gen --dict -V -d1 -k3 -ae "$2"|LD_LIBRARY_PATH=../lib ../src/json -EV -t <(../lib/test-gen --dict -T -d1 -k3 -ae "$1"); }
#
# # meta command:
# $ for o1 in ' ' '|' '||'; do for o2 in ' ' '|' '||'; do for x in a '~a' b '~b' c '~c'; do for y in a '~a' b '~b' c '~c'; do for z in a '~a' b '~b' c '~c'; do [ "$x" == "$y" -o "$y" == "$z" -o "$z" == "$x" ] && continue; c="json '$x$o1$y$o2$z' 'a,b'"; echo "$ $c"; eval "$c 2>&1" || echo "command failed: $c"; done; done; done; done; done
#
$ json 'a ~a b' 'a,b'
{"a":0,"b":1}
$ json 'a ~a ~b' 'a,b'
{"a":0,"b":1}
$ json 'a ~a c' 'a,b'
{"a":0,"b":1}
$ json 'a ~a ~c' 'a,b'
{"a":0,"b":1}
$ json 'a b ~a' 'a,b'
{"a":0,"b":1}
$ json 'a b ~b' 'a,b'
{"a":0,"b":1}
$ json 'a b c' 'a,b'
{"a":0,"b":1}
$ json 'a b ~c' 'a,b'
{"a":0,"b":1}
$ json 'a ~b ~a' 'a,b'
{"a":0,"b":1}
$ json 'a ~b b' 'a,b'
{"a":0,"b":1}
$ json 'a ~b c' 'a,b'
{"a":0,"b":1}
$ json 'a ~b ~c' 'a,b'
{"a":0,"b":1}
$ json 'a c ~a' 'a,b'
{"a":0,"b":1}
$ json 'a c b' 'a,b'
{"a":0,"b":1}
$ json 'a c ~b' 'a,b'
{"a":0,"b":1}
$ json 'a c ~c' 'a,b'
{"a":0,"b":1}
$ json 'a ~c ~a' 'a,b'
{"a":0,"b":1}
$ json 'a ~c b' 'a,b'
{"a":0,"b":1}
$ json 'a ~c ~b' 'a,b'
{"a":0,"b":1}
$ json 'a ~c c' 'a,b'
{"a":0,"b":1}
$ json '~a a b' 'a,b'
{"a":0,"b":1}
$ json '~a a ~b' 'a,b'
{"a":0,"b":1}
$ json '~a a c' 'a,b'
{"a":0,"b":1}
$ json '~a a ~c' 'a,b'
{"a":0,"b":1}
$ json '~a b a' 'a,b'
{"a":0,"b":1}
$ json '~a b ~b' 'a,b'
{"a":0,"b":1}
$ json '~a b c' 'a,b'
{"a":0,"b":1}
$ json '~a b ~c' 'a,b'
{"a":0,"b":1}
$ json '~a ~b a' 'a,b'
{"a":0,"b":1}
$ json '~a ~b b' 'a,b'
{"a":0,"b":1}
$ json '~a ~b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~b c' 'a,b'
$ json '~a ~b ~c' 'a,b'
{"a":0,"b":1}
$ json '~a c a' 'a,b'
{"a":0,"b":1}
$ json '~a c b' 'a,b'
{"a":0,"b":1}
$ json '~a c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a c ~b' 'a,b'
$ json '~a c ~c' 'a,b'
{"a":0,"b":1}
$ json '~a ~c a' 'a,b'
{"a":0,"b":1}
$ json '~a ~c b' 'a,b'
{"a":0,"b":1}
$ json '~a ~c ~b' 'a,b'
{"a":0,"b":1}
$ json '~a ~c c' 'a,b'
{"a":0,"b":1}
$ json 'b a ~a' 'a,b'
{"a":0,"b":1}
$ json 'b a ~b' 'a,b'
{"a":0,"b":1}
$ json 'b a c' 'a,b'
{"a":0,"b":1}
$ json 'b a ~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~a a' 'a,b'
{"a":0,"b":1}
$ json 'b ~a ~b' 'a,b'
{"a":0,"b":1}
$ json 'b ~a c' 'a,b'
{"a":0,"b":1}
$ json 'b ~a ~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~b a' 'a,b'
{"a":0,"b":1}
$ json 'b ~b ~a' 'a,b'
{"a":0,"b":1}
$ json 'b ~b c' 'a,b'
{"a":0,"b":1}
$ json 'b ~b ~c' 'a,b'
{"a":0,"b":1}
$ json 'b c a' 'a,b'
{"a":0,"b":1}
$ json 'b c ~a' 'a,b'
{"a":0,"b":1}
$ json 'b c ~b' 'a,b'
{"a":0,"b":1}
$ json 'b c ~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~c a' 'a,b'
{"a":0,"b":1}
$ json 'b ~c ~a' 'a,b'
{"a":0,"b":1}
$ json 'b ~c ~b' 'a,b'
{"a":0,"b":1}
$ json 'b ~c c' 'a,b'
{"a":0,"b":1}
$ json '~b a ~a' 'a,b'
{"a":0,"b":1}
$ json '~b a b' 'a,b'
{"a":0,"b":1}
$ json '~b a c' 'a,b'
{"a":0,"b":1}
$ json '~b a ~c' 'a,b'
{"a":0,"b":1}
$ json '~b ~a a' 'a,b'
{"a":0,"b":1}
$ json '~b ~a b' 'a,b'
{"a":0,"b":1}
$ json '~b ~a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~a c' 'a,b'
$ json '~b ~a ~c' 'a,b'
{"a":0,"b":1}
$ json '~b b a' 'a,b'
{"a":0,"b":1}
$ json '~b b ~a' 'a,b'
{"a":0,"b":1}
$ json '~b b c' 'a,b'
{"a":0,"b":1}
$ json '~b b ~c' 'a,b'
{"a":0,"b":1}
$ json '~b c a' 'a,b'
{"a":0,"b":1}
$ json '~b c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b c ~a' 'a,b'
$ json '~b c b' 'a,b'
{"a":0,"b":1}
$ json '~b c ~c' 'a,b'
{"a":0,"b":1}
$ json '~b ~c a' 'a,b'
{"a":0,"b":1}
$ json '~b ~c ~a' 'a,b'
{"a":0,"b":1}
$ json '~b ~c b' 'a,b'
{"a":0,"b":1}
$ json '~b ~c c' 'a,b'
{"a":0,"b":1}
$ json 'c a ~a' 'a,b'
{"a":0,"b":1}
$ json 'c a b' 'a,b'
{"a":0,"b":1}
$ json 'c a ~b' 'a,b'
{"a":0,"b":1}
$ json 'c a ~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~a a' 'a,b'
{"a":0,"b":1}
$ json 'c ~a b' 'a,b'
{"a":0,"b":1}
$ json 'c ~a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~a ~b' 'a,b'
$ json 'c ~a ~c' 'a,b'
{"a":0,"b":1}
$ json 'c b a' 'a,b'
{"a":0,"b":1}
$ json 'c b ~a' 'a,b'
{"a":0,"b":1}
$ json 'c b ~b' 'a,b'
{"a":0,"b":1}
$ json 'c b ~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~b a' 'a,b'
{"a":0,"b":1}
$ json 'c ~b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~b ~a' 'a,b'
$ json 'c ~b b' 'a,b'
{"a":0,"b":1}
$ json 'c ~b ~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~c a' 'a,b'
{"a":0,"b":1}
$ json 'c ~c ~a' 'a,b'
{"a":0,"b":1}
$ json 'c ~c b' 'a,b'
{"a":0,"b":1}
$ json 'c ~c ~b' 'a,b'
{"a":0,"b":1}
$ json '~c a ~a' 'a,b'
{"a":0,"b":1}
$ json '~c a b' 'a,b'
{"a":0,"b":1}
$ json '~c a ~b' 'a,b'
{"a":0,"b":1}
$ json '~c a c' 'a,b'
{"a":0,"b":1}
$ json '~c ~a a' 'a,b'
{"a":0,"b":1}
$ json '~c ~a b' 'a,b'
{"a":0,"b":1}
$ json '~c ~a ~b' 'a,b'
{"a":0,"b":1}
$ json '~c ~a c' 'a,b'
{"a":0,"b":1}
$ json '~c b a' 'a,b'
{"a":0,"b":1}
$ json '~c b ~a' 'a,b'
{"a":0,"b":1}
$ json '~c b ~b' 'a,b'
{"a":0,"b":1}
$ json '~c b c' 'a,b'
{"a":0,"b":1}
$ json '~c ~b a' 'a,b'
{"a":0,"b":1}
$ json '~c ~b ~a' 'a,b'
{"a":0,"b":1}
$ json '~c ~b b' 'a,b'
{"a":0,"b":1}
$ json '~c ~b c' 'a,b'
{"a":0,"b":1}
$ json '~c c a' 'a,b'
{"a":0,"b":1}
$ json '~c c ~a' 'a,b'
{"a":0,"b":1}
$ json '~c c b' 'a,b'
{"a":0,"b":1}
$ json '~c c ~b' 'a,b'
{"a":0,"b":1}
$ json 'a ~a|b' 'a,b'
{"a":0,"b":1}
$ json 'a ~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a ~a|~b' 'a,b'
$ json 'a ~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a ~a|c' 'a,b'
$ json 'a ~a|~c' 'a,b'
{"a":0,"b":1}
$ json 'a b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a b|~a' 'a,b'
$ json 'a b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a b|~b' 'a,b'
$ json 'a b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a b|c' 'a,b'
$ json 'a b|~c' 'a,b'
{"a":0,"b":1}
$ json 'a ~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a ~b|~a' 'a,b'
$ json 'a ~b|b' 'a,b'
{"a":0,"b":1}
$ json 'a ~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a ~b|c' 'a,b'
$ json 'a ~b|~c' 'a,b'
{"a":0,"b":1}
$ json 'a c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a c|~a' 'a,b'
$ json 'a c|b' 'a,b'
{"a":0,"b":1}
$ json 'a c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a c|~b' 'a,b'
$ json 'a c|~c' 'a,b'
{"a":0,"b":1}
$ json 'a ~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a ~c|~a' 'a,b'
$ json 'a ~c|b' 'a,b'
{"a":0,"b":1}
$ json 'a ~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a ~c|~b' 'a,b'
$ json 'a ~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a ~c|c' 'a,b'
$ json '~a a|b' 'a,b'
{"a":0,"b":1}
$ json '~a a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a a|~b' 'a,b'
$ json '~a a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a a|c' 'a,b'
$ json '~a a|~c' 'a,b'
{"a":0,"b":1}
$ json '~a b|a' 'a,b'
{"a":0,"b":1}
$ json '~a b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a b|~b' 'a,b'
$ json '~a b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a b|c' 'a,b'
$ json '~a b|~c' 'a,b'
{"a":0,"b":1}
$ json '~a ~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~b|a' 'a,b'
$ json '~a ~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~b|b' 'a,b'
$ json '~a ~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~b|c' 'a,b'
$ json '~a ~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~b|~c' 'a,b'
$ json '~a c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a c|a' 'a,b'
$ json '~a c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a c|b' 'a,b'
$ json '~a c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a c|~b' 'a,b'
$ json '~a c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a c|~c' 'a,b'
$ json '~a ~c|a' 'a,b'
{"a":0,"b":1}
$ json '~a ~c|b' 'a,b'
{"a":0,"b":1}
$ json '~a ~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~c|~b' 'a,b'
$ json '~a ~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~c|c' 'a,b'
$ json 'b a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b a|~a' 'a,b'
$ json 'b a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b a|~b' 'a,b'
$ json 'b a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b a|c' 'a,b'
$ json 'b a|~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~a|a' 'a,b'
{"a":0,"b":1}
$ json 'b ~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b ~a|~b' 'a,b'
$ json 'b ~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b ~a|c' 'a,b'
$ json 'b ~a|~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~b|a' 'a,b'
{"a":0,"b":1}
$ json 'b ~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b ~b|~a' 'a,b'
$ json 'b ~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b ~b|c' 'a,b'
$ json 'b ~b|~c' 'a,b'
{"a":0,"b":1}
$ json 'b c|a' 'a,b'
{"a":0,"b":1}
$ json 'b c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b c|~a' 'a,b'
$ json 'b c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b c|~b' 'a,b'
$ json 'b c|~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~c|a' 'a,b'
{"a":0,"b":1}
$ json 'b ~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b ~c|~a' 'a,b'
$ json 'b ~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b ~c|~b' 'a,b'
$ json 'b ~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b ~c|c' 'a,b'
$ json '~b a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b a|~a' 'a,b'
$ json '~b a|b' 'a,b'
{"a":0,"b":1}
$ json '~b a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b a|c' 'a,b'
$ json '~b a|~c' 'a,b'
{"a":0,"b":1}
$ json '~b ~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~a|a' 'a,b'
$ json '~b ~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~a|b' 'a,b'
$ json '~b ~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~a|c' 'a,b'
$ json '~b ~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~a|~c' 'a,b'
$ json '~b b|a' 'a,b'
{"a":0,"b":1}
$ json '~b b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b b|~a' 'a,b'
$ json '~b b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b b|c' 'a,b'
$ json '~b b|~c' 'a,b'
{"a":0,"b":1}
$ json '~b c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b c|a' 'a,b'
$ json '~b c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b c|~a' 'a,b'
$ json '~b c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b c|b' 'a,b'
$ json '~b c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b c|~c' 'a,b'
$ json '~b ~c|a' 'a,b'
{"a":0,"b":1}
$ json '~b ~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~c|~a' 'a,b'
$ json '~b ~c|b' 'a,b'
{"a":0,"b":1}
$ json '~b ~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~c|c' 'a,b'
$ json 'c a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c a|~a' 'a,b'
$ json 'c a|b' 'a,b'
{"a":0,"b":1}
$ json 'c a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c a|~b' 'a,b'
$ json 'c a|~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~a|a' 'a,b'
$ json 'c ~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~a|b' 'a,b'
$ json 'c ~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~a|~b' 'a,b'
$ json 'c ~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~a|~c' 'a,b'
$ json 'c b|a' 'a,b'
{"a":0,"b":1}
$ json 'c b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c b|~a' 'a,b'
$ json 'c b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c b|~b' 'a,b'
$ json 'c b|~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~b|a' 'a,b'
$ json 'c ~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~b|~a' 'a,b'
$ json 'c ~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~b|b' 'a,b'
$ json 'c ~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~b|~c' 'a,b'
$ json 'c ~c|a' 'a,b'
{"a":0,"b":1}
$ json 'c ~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~c|~a' 'a,b'
$ json 'c ~c|b' 'a,b'
{"a":0,"b":1}
$ json 'c ~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~c|~b' 'a,b'
$ json '~c a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c a|~a' 'a,b'
$ json '~c a|b' 'a,b'
{"a":0,"b":1}
$ json '~c a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c a|~b' 'a,b'
$ json '~c a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c a|c' 'a,b'
$ json '~c ~a|a' 'a,b'
{"a":0,"b":1}
$ json '~c ~a|b' 'a,b'
{"a":0,"b":1}
$ json '~c ~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c ~a|~b' 'a,b'
$ json '~c ~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c ~a|c' 'a,b'
$ json '~c b|a' 'a,b'
{"a":0,"b":1}
$ json '~c b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c b|~a' 'a,b'
$ json '~c b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c b|~b' 'a,b'
$ json '~c b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c b|c' 'a,b'
$ json '~c ~b|a' 'a,b'
{"a":0,"b":1}
$ json '~c ~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c ~b|~a' 'a,b'
$ json '~c ~b|b' 'a,b'
{"a":0,"b":1}
$ json '~c ~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c ~b|c' 'a,b'
$ json '~c c|a' 'a,b'
{"a":0,"b":1}
$ json '~c c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c c|~a' 'a,b'
$ json '~c c|b' 'a,b'
{"a":0,"b":1}
$ json '~c c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c c|~b' 'a,b'
$ json 'a ~a||b' 'a,b'
{"a":0,"b":1}
$ json 'a ~a||~b' 'a,b'
{"a":0,"b":1}
$ json 'a ~a||c' 'a,b'
{"a":0,"b":1}
$ json 'a ~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'a b||~a' 'a,b'
{"a":0,"b":1}
$ json 'a b||~b' 'a,b'
{"a":0,"b":1}
$ json 'a b||c' 'a,b'
{"a":0,"b":1}
$ json 'a b||~c' 'a,b'
{"a":0,"b":1}
$ json 'a ~b||~a' 'a,b'
{"a":0,"b":1}
$ json 'a ~b||b' 'a,b'
{"a":0,"b":1}
$ json 'a ~b||c' 'a,b'
{"a":0,"b":1}
$ json 'a ~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'a c||~a' 'a,b'
{"a":0,"b":1}
$ json 'a c||b' 'a,b'
{"a":0,"b":1}
$ json 'a c||~b' 'a,b'
{"a":0,"b":1}
$ json 'a c||~c' 'a,b'
{"a":0,"b":1}
$ json 'a ~c||~a' 'a,b'
{"a":0,"b":1}
$ json 'a ~c||b' 'a,b'
{"a":0,"b":1}
$ json 'a ~c||~b' 'a,b'
{"a":0,"b":1}
$ json 'a ~c||c' 'a,b'
{"a":0,"b":1}
$ json '~a a||b' 'a,b'
{"a":0,"b":1}
$ json '~a a||~b' 'a,b'
{"a":0,"b":1}
$ json '~a a||c' 'a,b'
{"a":0,"b":1}
$ json '~a a||~c' 'a,b'
{"a":0,"b":1}
$ json '~a b||a' 'a,b'
{"a":0,"b":1}
$ json '~a b||~b' 'a,b'
{"a":0,"b":1}
$ json '~a b||c' 'a,b'
{"a":0,"b":1}
$ json '~a b||~c' 'a,b'
{"a":0,"b":1}
$ json '~a ~b||a' 'a,b'
{"a":0,"b":1}
$ json '~a ~b||b' 'a,b'
{"a":0,"b":1}
$ json '~a ~b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a ~b||c' 'a,b'
$ json '~a ~b||~c' 'a,b'
{"a":0,"b":1}
$ json '~a c||a' 'a,b'
{"a":0,"b":1}
$ json '~a c||b' 'a,b'
{"a":0,"b":1}
$ json '~a c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a c||~b' 'a,b'
$ json '~a c||~c' 'a,b'
{"a":0,"b":1}
$ json '~a ~c||a' 'a,b'
{"a":0,"b":1}
$ json '~a ~c||b' 'a,b'
{"a":0,"b":1}
$ json '~a ~c||~b' 'a,b'
{"a":0,"b":1}
$ json '~a ~c||c' 'a,b'
{"a":0,"b":1}
$ json 'b a||~a' 'a,b'
{"a":0,"b":1}
$ json 'b a||~b' 'a,b'
{"a":0,"b":1}
$ json 'b a||c' 'a,b'
{"a":0,"b":1}
$ json 'b a||~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~a||a' 'a,b'
{"a":0,"b":1}
$ json 'b ~a||~b' 'a,b'
{"a":0,"b":1}
$ json 'b ~a||c' 'a,b'
{"a":0,"b":1}
$ json 'b ~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~b||a' 'a,b'
{"a":0,"b":1}
$ json 'b ~b||~a' 'a,b'
{"a":0,"b":1}
$ json 'b ~b||c' 'a,b'
{"a":0,"b":1}
$ json 'b ~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'b c||a' 'a,b'
{"a":0,"b":1}
$ json 'b c||~a' 'a,b'
{"a":0,"b":1}
$ json 'b c||~b' 'a,b'
{"a":0,"b":1}
$ json 'b c||~c' 'a,b'
{"a":0,"b":1}
$ json 'b ~c||a' 'a,b'
{"a":0,"b":1}
$ json 'b ~c||~a' 'a,b'
{"a":0,"b":1}
$ json 'b ~c||~b' 'a,b'
{"a":0,"b":1}
$ json 'b ~c||c' 'a,b'
{"a":0,"b":1}
$ json '~b a||~a' 'a,b'
{"a":0,"b":1}
$ json '~b a||b' 'a,b'
{"a":0,"b":1}
$ json '~b a||c' 'a,b'
{"a":0,"b":1}
$ json '~b a||~c' 'a,b'
{"a":0,"b":1}
$ json '~b ~a||a' 'a,b'
{"a":0,"b":1}
$ json '~b ~a||b' 'a,b'
{"a":0,"b":1}
$ json '~b ~a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b ~a||c' 'a,b'
$ json '~b ~a||~c' 'a,b'
{"a":0,"b":1}
$ json '~b b||a' 'a,b'
{"a":0,"b":1}
$ json '~b b||~a' 'a,b'
{"a":0,"b":1}
$ json '~b b||c' 'a,b'
{"a":0,"b":1}
$ json '~b b||~c' 'a,b'
{"a":0,"b":1}
$ json '~b c||a' 'a,b'
{"a":0,"b":1}
$ json '~b c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b c||~a' 'a,b'
$ json '~b c||b' 'a,b'
{"a":0,"b":1}
$ json '~b c||~c' 'a,b'
{"a":0,"b":1}
$ json '~b ~c||a' 'a,b'
{"a":0,"b":1}
$ json '~b ~c||~a' 'a,b'
{"a":0,"b":1}
$ json '~b ~c||b' 'a,b'
{"a":0,"b":1}
$ json '~b ~c||c' 'a,b'
{"a":0,"b":1}
$ json 'c a||~a' 'a,b'
{"a":0,"b":1}
$ json 'c a||b' 'a,b'
{"a":0,"b":1}
$ json 'c a||~b' 'a,b'
{"a":0,"b":1}
$ json 'c a||~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~a||a' 'a,b'
{"a":0,"b":1}
$ json 'c ~a||b' 'a,b'
{"a":0,"b":1}
$ json 'c ~a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~a||~b' 'a,b'
$ json 'c ~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'c b||a' 'a,b'
{"a":0,"b":1}
$ json 'c b||~a' 'a,b'
{"a":0,"b":1}
$ json 'c b||~b' 'a,b'
{"a":0,"b":1}
$ json 'c b||~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~b||a' 'a,b'
{"a":0,"b":1}
$ json 'c ~b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c ~b||~a' 'a,b'
$ json 'c ~b||b' 'a,b'
{"a":0,"b":1}
$ json 'c ~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'c ~c||a' 'a,b'
{"a":0,"b":1}
$ json 'c ~c||~a' 'a,b'
{"a":0,"b":1}
$ json 'c ~c||b' 'a,b'
{"a":0,"b":1}
$ json 'c ~c||~b' 'a,b'
{"a":0,"b":1}
$ json '~c a||~a' 'a,b'
{"a":0,"b":1}
$ json '~c a||b' 'a,b'
{"a":0,"b":1}
$ json '~c a||~b' 'a,b'
{"a":0,"b":1}
$ json '~c a||c' 'a,b'
{"a":0,"b":1}
$ json '~c ~a||a' 'a,b'
{"a":0,"b":1}
$ json '~c ~a||b' 'a,b'
{"a":0,"b":1}
$ json '~c ~a||~b' 'a,b'
{"a":0,"b":1}
$ json '~c ~a||c' 'a,b'
{"a":0,"b":1}
$ json '~c b||a' 'a,b'
{"a":0,"b":1}
$ json '~c b||~a' 'a,b'
{"a":0,"b":1}
$ json '~c b||~b' 'a,b'
{"a":0,"b":1}
$ json '~c b||c' 'a,b'
{"a":0,"b":1}
$ json '~c ~b||a' 'a,b'
{"a":0,"b":1}
$ json '~c ~b||~a' 'a,b'
{"a":0,"b":1}
$ json '~c ~b||b' 'a,b'
{"a":0,"b":1}
$ json '~c ~b||c' 'a,b'
{"a":0,"b":1}
$ json '~c c||a' 'a,b'
{"a":0,"b":1}
$ json '~c c||~a' 'a,b'
{"a":0,"b":1}
$ json '~c c||b' 'a,b'
{"a":0,"b":1}
$ json '~c c||~b' 'a,b'
{"a":0,"b":1}
$ json 'a|~a b' 'a,b'
{"a":0,"b":1}
$ json 'a|~a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a ~b' 'a,b'
$ json 'a|~a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a c' 'a,b'
$ json 'a|~a ~c' 'a,b'
{"a":0,"b":1}
$ json 'a|b ~a' 'a,b'
{"a":0,"b":1}
$ json 'a|b ~b' 'a,b'
{"a":0,"b":1}
$ json 'a|b c' 'a,b'
{"a":0,"b":1}
$ json 'a|b ~c' 'a,b'
{"a":0,"b":1}
$ json 'a|~b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b ~a' 'a,b'
$ json 'a|~b b' 'a,b'
{"a":0,"b":1}
$ json 'a|~b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b c' 'a,b'
$ json 'a|~b ~c' 'a,b'
{"a":0,"b":1}
$ json 'a|c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c ~a' 'a,b'
$ json 'a|c b' 'a,b'
{"a":0,"b":1}
$ json 'a|c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c ~b' 'a,b'
$ json 'a|c ~c' 'a,b'
{"a":0,"b":1}
$ json 'a|~c ~a' 'a,b'
{"a":0,"b":1}
$ json 'a|~c b' 'a,b'
{"a":0,"b":1}
$ json 'a|~c ~b' 'a,b'
{"a":0,"b":1}
$ json 'a|~c c' 'a,b'
{"a":0,"b":1}
$ json '~a|a b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a b' 'a,b'
$ json '~a|a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a ~b' 'a,b'
$ json '~a|a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a c' 'a,b'
$ json '~a|a ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a ~c' 'a,b'
$ json '~a|b a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b a' 'a,b'
$ json '~a|b ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b ~b' 'a,b'
$ json '~a|b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b c' 'a,b'
$ json '~a|b ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b ~c' 'a,b'
$ json '~a|~b a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b a' 'a,b'
$ json '~a|~b b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b b' 'a,b'
$ json '~a|~b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b c' 'a,b'
$ json '~a|~b ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b ~c' 'a,b'
$ json '~a|c a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c a' 'a,b'
$ json '~a|c b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c b' 'a,b'
$ json '~a|c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c ~b' 'a,b'
$ json '~a|c ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c ~c' 'a,b'
$ json '~a|~c a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c a' 'a,b'
$ json '~a|~c b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c b' 'a,b'
$ json '~a|~c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c ~b' 'a,b'
$ json '~a|~c c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c c' 'a,b'
$ json 'b|a ~a' 'a,b'
{"a":0,"b":1}
$ json 'b|a ~b' 'a,b'
{"a":0,"b":1}
$ json 'b|a c' 'a,b'
{"a":0,"b":1}
$ json 'b|a ~c' 'a,b'
{"a":0,"b":1}
$ json 'b|~a a' 'a,b'
{"a":0,"b":1}
$ json 'b|~a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a ~b' 'a,b'
$ json 'b|~a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a c' 'a,b'
$ json 'b|~a ~c' 'a,b'
{"a":0,"b":1}
$ json 'b|~b a' 'a,b'
{"a":0,"b":1}
$ json 'b|~b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b ~a' 'a,b'
$ json 'b|~b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b c' 'a,b'
$ json 'b|~b ~c' 'a,b'
{"a":0,"b":1}
$ json 'b|c a' 'a,b'
{"a":0,"b":1}
$ json 'b|c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c ~a' 'a,b'
$ json 'b|c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c ~b' 'a,b'
$ json 'b|c ~c' 'a,b'
{"a":0,"b":1}
$ json 'b|~c a' 'a,b'
{"a":0,"b":1}
$ json 'b|~c ~a' 'a,b'
{"a":0,"b":1}
$ json 'b|~c ~b' 'a,b'
{"a":0,"b":1}
$ json 'b|~c c' 'a,b'
{"a":0,"b":1}
$ json '~b|a ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a ~a' 'a,b'
$ json '~b|a b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a b' 'a,b'
$ json '~b|a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a c' 'a,b'
$ json '~b|a ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a ~c' 'a,b'
$ json '~b|~a a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a a' 'a,b'
$ json '~b|~a b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a b' 'a,b'
$ json '~b|~a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a c' 'a,b'
$ json '~b|~a ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a ~c' 'a,b'
$ json '~b|b a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b a' 'a,b'
$ json '~b|b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b ~a' 'a,b'
$ json '~b|b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b c' 'a,b'
$ json '~b|b ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b ~c' 'a,b'
$ json '~b|c a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c a' 'a,b'
$ json '~b|c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c ~a' 'a,b'
$ json '~b|c b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c b' 'a,b'
$ json '~b|c ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c ~c' 'a,b'
$ json '~b|~c a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c a' 'a,b'
$ json '~b|~c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c ~a' 'a,b'
$ json '~b|~c b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c b' 'a,b'
$ json '~b|~c c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c c' 'a,b'
$ json 'c|a ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a ~a' 'a,b'
$ json 'c|a b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a b' 'a,b'
$ json 'c|a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a ~b' 'a,b'
$ json 'c|a ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a ~c' 'a,b'
$ json 'c|~a a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a a' 'a,b'
$ json 'c|~a b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a b' 'a,b'
$ json 'c|~a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a ~b' 'a,b'
$ json 'c|~a ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a ~c' 'a,b'
$ json 'c|b a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b a' 'a,b'
$ json 'c|b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b ~a' 'a,b'
$ json 'c|b ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b ~b' 'a,b'
$ json 'c|b ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b ~c' 'a,b'
$ json 'c|~b a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b a' 'a,b'
$ json 'c|~b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b ~a' 'a,b'
$ json 'c|~b b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b b' 'a,b'
$ json 'c|~b ~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b ~c' 'a,b'
$ json 'c|~c a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c a' 'a,b'
$ json 'c|~c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c ~a' 'a,b'
$ json 'c|~c b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c b' 'a,b'
$ json 'c|~c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c ~b' 'a,b'
$ json '~c|a ~a' 'a,b'
{"a":0,"b":1}
$ json '~c|a b' 'a,b'
{"a":0,"b":1}
$ json '~c|a ~b' 'a,b'
{"a":0,"b":1}
$ json '~c|a c' 'a,b'
{"a":0,"b":1}
$ json '~c|~a a' 'a,b'
{"a":0,"b":1}
$ json '~c|~a b' 'a,b'
{"a":0,"b":1}
$ json '~c|~a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a ~b' 'a,b'
$ json '~c|~a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a c' 'a,b'
$ json '~c|b a' 'a,b'
{"a":0,"b":1}
$ json '~c|b ~a' 'a,b'
{"a":0,"b":1}
$ json '~c|b ~b' 'a,b'
{"a":0,"b":1}
$ json '~c|b c' 'a,b'
{"a":0,"b":1}
$ json '~c|~b a' 'a,b'
{"a":0,"b":1}
$ json '~c|~b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b ~a' 'a,b'
$ json '~c|~b b' 'a,b'
{"a":0,"b":1}
$ json '~c|~b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b c' 'a,b'
$ json '~c|c a' 'a,b'
{"a":0,"b":1}
$ json '~c|c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c ~a' 'a,b'
$ json '~c|c b' 'a,b'
{"a":0,"b":1}
$ json '~c|c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c ~b' 'a,b'
$ json 'a|~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a|b' 'a,b'
$ json 'a|~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a|~b' 'a,b'
$ json 'a|~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a|c' 'a,b'
$ json 'a|~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a|~c' 'a,b'
$ json 'a|b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|b|~a' 'a,b'
$ json 'a|b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|b|~b' 'a,b'
$ json 'a|b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|b|c' 'a,b'
$ json 'a|b|~c' 'a,b'
{"a":0,"b":1}
$ json 'a|~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b|~a' 'a,b'
$ json 'a|~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b|b' 'a,b'
$ json 'a|~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b|c' 'a,b'
$ json 'a|~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b|~c' 'a,b'
$ json 'a|c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c|~a' 'a,b'
$ json 'a|c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c|b' 'a,b'
$ json 'a|c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c|~b' 'a,b'
$ json 'a|c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c|~c' 'a,b'
$ json 'a|~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~c|~a' 'a,b'
$ json 'a|~c|b' 'a,b'
{"a":0,"b":1}
$ json 'a|~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~c|~b' 'a,b'
$ json 'a|~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~c|c' 'a,b'
$ json '~a|a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a|b' 'a,b'
$ json '~a|a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a|~b' 'a,b'
$ json '~a|a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a|c' 'a,b'
$ json '~a|a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a|~c' 'a,b'
$ json '~a|b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b|a' 'a,b'
$ json '~a|b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b|~b' 'a,b'
$ json '~a|b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b|c' 'a,b'
$ json '~a|b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b|~c' 'a,b'
$ json '~a|~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b|a' 'a,b'
$ json '~a|~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b|b' 'a,b'
$ json '~a|~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b|c' 'a,b'
$ json '~a|~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b|~c' 'a,b'
$ json '~a|c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c|a' 'a,b'
$ json '~a|c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c|b' 'a,b'
$ json '~a|c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c|~b' 'a,b'
$ json '~a|c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c|~c' 'a,b'
$ json '~a|~c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c|a' 'a,b'
$ json '~a|~c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c|b' 'a,b'
$ json '~a|~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c|~b' 'a,b'
$ json '~a|~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c|c' 'a,b'
$ json 'b|a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|a|~a' 'a,b'
$ json 'b|a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|a|~b' 'a,b'
$ json 'b|a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|a|c' 'a,b'
$ json 'b|a|~c' 'a,b'
{"a":0,"b":1}
$ json 'b|~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a|a' 'a,b'
$ json 'b|~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a|~b' 'a,b'
$ json 'b|~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a|c' 'a,b'
$ json 'b|~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a|~c' 'a,b'
$ json 'b|~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b|a' 'a,b'
$ json 'b|~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b|~a' 'a,b'
$ json 'b|~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b|c' 'a,b'
$ json 'b|~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b|~c' 'a,b'
$ json 'b|c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c|a' 'a,b'
$ json 'b|c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c|~a' 'a,b'
$ json 'b|c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c|~b' 'a,b'
$ json 'b|c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c|~c' 'a,b'
$ json 'b|~c|a' 'a,b'
{"a":0,"b":1}
$ json 'b|~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~c|~a' 'a,b'
$ json 'b|~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~c|~b' 'a,b'
$ json 'b|~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~c|c' 'a,b'
$ json '~b|a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a|~a' 'a,b'
$ json '~b|a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a|b' 'a,b'
$ json '~b|a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a|c' 'a,b'
$ json '~b|a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a|~c' 'a,b'
$ json '~b|~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a|a' 'a,b'
$ json '~b|~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a|b' 'a,b'
$ json '~b|~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a|c' 'a,b'
$ json '~b|~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a|~c' 'a,b'
$ json '~b|b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b|a' 'a,b'
$ json '~b|b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b|~a' 'a,b'
$ json '~b|b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b|c' 'a,b'
$ json '~b|b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b|~c' 'a,b'
$ json '~b|c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c|a' 'a,b'
$ json '~b|c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c|~a' 'a,b'
$ json '~b|c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c|b' 'a,b'
$ json '~b|c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c|~c' 'a,b'
$ json '~b|~c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c|a' 'a,b'
$ json '~b|~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c|~a' 'a,b'
$ json '~b|~c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c|b' 'a,b'
$ json '~b|~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c|c' 'a,b'
$ json 'c|a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a|~a' 'a,b'
$ json 'c|a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a|b' 'a,b'
$ json 'c|a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a|~b' 'a,b'
$ json 'c|a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a|~c' 'a,b'
$ json 'c|~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a|a' 'a,b'
$ json 'c|~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a|b' 'a,b'
$ json 'c|~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a|~b' 'a,b'
$ json 'c|~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a|~c' 'a,b'
$ json 'c|b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b|a' 'a,b'
$ json 'c|b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b|~a' 'a,b'
$ json 'c|b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b|~b' 'a,b'
$ json 'c|b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b|~c' 'a,b'
$ json 'c|~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b|a' 'a,b'
$ json 'c|~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b|~a' 'a,b'
$ json 'c|~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b|b' 'a,b'
$ json 'c|~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b|~c' 'a,b'
$ json 'c|~c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c|a' 'a,b'
$ json 'c|~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c|~a' 'a,b'
$ json 'c|~c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c|b' 'a,b'
$ json 'c|~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c|~b' 'a,b'
$ json '~c|a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|a|~a' 'a,b'
$ json '~c|a|b' 'a,b'
{"a":0,"b":1}
$ json '~c|a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|a|~b' 'a,b'
$ json '~c|a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|a|c' 'a,b'
$ json '~c|~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a|a' 'a,b'
$ json '~c|~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a|b' 'a,b'
$ json '~c|~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a|~b' 'a,b'
$ json '~c|~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a|c' 'a,b'
$ json '~c|b|a' 'a,b'
{"a":0,"b":1}
$ json '~c|b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|b|~a' 'a,b'
$ json '~c|b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|b|~b' 'a,b'
$ json '~c|b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|b|c' 'a,b'
$ json '~c|~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b|a' 'a,b'
$ json '~c|~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b|~a' 'a,b'
$ json '~c|~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b|b' 'a,b'
$ json '~c|~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b|c' 'a,b'
$ json '~c|c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c|a' 'a,b'
$ json '~c|c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c|~a' 'a,b'
$ json '~c|c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c|b' 'a,b'
$ json '~c|c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c|~b' 'a,b'
$ json 'a|~a||b' 'a,b'
{"a":0,"b":1}
$ json 'a|~a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a||~b' 'a,b'
$ json 'a|~a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~a||c' 'a,b'
$ json 'a|~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'a|b||~a' 'a,b'
{"a":0,"b":1}
$ json 'a|b||~b' 'a,b'
{"a":0,"b":1}
$ json 'a|b||c' 'a,b'
{"a":0,"b":1}
$ json 'a|b||~c' 'a,b'
{"a":0,"b":1}
$ json 'a|~b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b||~a' 'a,b'
$ json 'a|~b||b' 'a,b'
{"a":0,"b":1}
$ json 'a|~b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|~b||c' 'a,b'
$ json 'a|~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'a|c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c||~a' 'a,b'
$ json 'a|c||b' 'a,b'
{"a":0,"b":1}
$ json 'a|c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'a|c||~b' 'a,b'
$ json 'a|c||~c' 'a,b'
{"a":0,"b":1}
$ json 'a|~c||~a' 'a,b'
{"a":0,"b":1}
$ json 'a|~c||b' 'a,b'
{"a":0,"b":1}
$ json 'a|~c||~b' 'a,b'
{"a":0,"b":1}
$ json 'a|~c||c' 'a,b'
{"a":0,"b":1}
$ json '~a|a||b' 'a,b'
{"a":0,"b":1}
$ json '~a|a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a||~b' 'a,b'
$ json '~a|a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|a||c' 'a,b'
$ json '~a|a||~c' 'a,b'
{"a":0,"b":1}
$ json '~a|b||a' 'a,b'
{"a":0,"b":1}
$ json '~a|b||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b||~b' 'a,b'
$ json '~a|b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|b||c' 'a,b'
$ json '~a|b||~c' 'a,b'
{"a":0,"b":1}
$ json '~a|~b||a' 'a,b'
{"a":0,"b":1}
$ json '~a|~b||b' 'a,b'
{"a":0,"b":1}
$ json '~a|~b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~b||c' 'a,b'
$ json '~a|~b||~c' 'a,b'
{"a":0,"b":1}
$ json '~a|c||a' 'a,b'
{"a":0,"b":1}
$ json '~a|c||b' 'a,b'
{"a":0,"b":1}
$ json '~a|c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|c||~b' 'a,b'
$ json '~a|c||~c' 'a,b'
{"a":0,"b":1}
$ json '~a|~c||a' 'a,b'
{"a":0,"b":1}
$ json '~a|~c||b' 'a,b'
{"a":0,"b":1}
$ json '~a|~c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c||~b' 'a,b'
$ json '~a|~c||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a|~c||c' 'a,b'
$ json 'b|a||~a' 'a,b'
{"a":0,"b":1}
$ json 'b|a||~b' 'a,b'
{"a":0,"b":1}
$ json 'b|a||c' 'a,b'
{"a":0,"b":1}
$ json 'b|a||~c' 'a,b'
{"a":0,"b":1}
$ json 'b|~a||a' 'a,b'
{"a":0,"b":1}
$ json 'b|~a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a||~b' 'a,b'
$ json 'b|~a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~a||c' 'a,b'
$ json 'b|~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'b|~b||a' 'a,b'
{"a":0,"b":1}
$ json 'b|~b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b||~a' 'a,b'
$ json 'b|~b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|~b||c' 'a,b'
$ json 'b|~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'b|c||a' 'a,b'
{"a":0,"b":1}
$ json 'b|c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c||~a' 'a,b'
$ json 'b|c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'b|c||~b' 'a,b'
$ json 'b|c||~c' 'a,b'
{"a":0,"b":1}
$ json 'b|~c||a' 'a,b'
{"a":0,"b":1}
$ json 'b|~c||~a' 'a,b'
{"a":0,"b":1}
$ json 'b|~c||~b' 'a,b'
{"a":0,"b":1}
$ json 'b|~c||c' 'a,b'
{"a":0,"b":1}
$ json '~b|a||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a||~a' 'a,b'
$ json '~b|a||b' 'a,b'
{"a":0,"b":1}
$ json '~b|a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|a||c' 'a,b'
$ json '~b|a||~c' 'a,b'
{"a":0,"b":1}
$ json '~b|~a||a' 'a,b'
{"a":0,"b":1}
$ json '~b|~a||b' 'a,b'
{"a":0,"b":1}
$ json '~b|~a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~a||c' 'a,b'
$ json '~b|~a||~c' 'a,b'
{"a":0,"b":1}
$ json '~b|b||a' 'a,b'
{"a":0,"b":1}
$ json '~b|b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b||~a' 'a,b'
$ json '~b|b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|b||c' 'a,b'
$ json '~b|b||~c' 'a,b'
{"a":0,"b":1}
$ json '~b|c||a' 'a,b'
{"a":0,"b":1}
$ json '~b|c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|c||~a' 'a,b'
$ json '~b|c||b' 'a,b'
{"a":0,"b":1}
$ json '~b|c||~c' 'a,b'
{"a":0,"b":1}
$ json '~b|~c||a' 'a,b'
{"a":0,"b":1}
$ json '~b|~c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c||~a' 'a,b'
$ json '~b|~c||b' 'a,b'
{"a":0,"b":1}
$ json '~b|~c||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b|~c||c' 'a,b'
$ json 'c|a||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a||~a' 'a,b'
$ json 'c|a||b' 'a,b'
{"a":0,"b":1}
$ json 'c|a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|a||~b' 'a,b'
$ json 'c|a||~c' 'a,b'
{"a":0,"b":1}
$ json 'c|~a||a' 'a,b'
{"a":0,"b":1}
$ json 'c|~a||b' 'a,b'
{"a":0,"b":1}
$ json 'c|~a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~a||~b' 'a,b'
$ json 'c|~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'c|b||a' 'a,b'
{"a":0,"b":1}
$ json 'c|b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b||~a' 'a,b'
$ json 'c|b||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|b||~b' 'a,b'
$ json 'c|b||~c' 'a,b'
{"a":0,"b":1}
$ json 'c|~b||a' 'a,b'
{"a":0,"b":1}
$ json 'c|~b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~b||~a' 'a,b'
$ json 'c|~b||b' 'a,b'
{"a":0,"b":1}
$ json 'c|~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'c|~c||a' 'a,b'
{"a":0,"b":1}
$ json 'c|~c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c||~a' 'a,b'
$ json 'c|~c||b' 'a,b'
{"a":0,"b":1}
$ json 'c|~c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c|~c||~b' 'a,b'
$ json '~c|a||~a' 'a,b'
{"a":0,"b":1}
$ json '~c|a||b' 'a,b'
{"a":0,"b":1}
$ json '~c|a||~b' 'a,b'
{"a":0,"b":1}
$ json '~c|a||c' 'a,b'
{"a":0,"b":1}
$ json '~c|~a||a' 'a,b'
{"a":0,"b":1}
$ json '~c|~a||b' 'a,b'
{"a":0,"b":1}
$ json '~c|~a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a||~b' 'a,b'
$ json '~c|~a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~a||c' 'a,b'
$ json '~c|b||a' 'a,b'
{"a":0,"b":1}
$ json '~c|b||~a' 'a,b'
{"a":0,"b":1}
$ json '~c|b||~b' 'a,b'
{"a":0,"b":1}
$ json '~c|b||c' 'a,b'
{"a":0,"b":1}
$ json '~c|~b||a' 'a,b'
{"a":0,"b":1}
$ json '~c|~b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b||~a' 'a,b'
$ json '~c|~b||b' 'a,b'
{"a":0,"b":1}
$ json '~c|~b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|~b||c' 'a,b'
$ json '~c|c||a' 'a,b'
{"a":0,"b":1}
$ json '~c|c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c||~a' 'a,b'
$ json '~c|c||b' 'a,b'
{"a":0,"b":1}
$ json '~c|c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~c|c||~b' 'a,b'
$ json 'a||~a b' 'a,b'
{"a":0,"b":1}
$ json 'a||~a ~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~a c' 'a,b'
{"a":0,"b":1}
$ json 'a||~a ~c' 'a,b'
{"a":0,"b":1}
$ json 'a||b ~a' 'a,b'
{"a":0,"b":1}
$ json 'a||b ~b' 'a,b'
{"a":0,"b":1}
$ json 'a||b c' 'a,b'
{"a":0,"b":1}
$ json 'a||b ~c' 'a,b'
{"a":0,"b":1}
$ json 'a||~b ~a' 'a,b'
{"a":0,"b":1}
$ json 'a||~b b' 'a,b'
{"a":0,"b":1}
$ json 'a||~b c' 'a,b'
{"a":0,"b":1}
$ json 'a||~b ~c' 'a,b'
{"a":0,"b":1}
$ json 'a||c ~a' 'a,b'
{"a":0,"b":1}
$ json 'a||c b' 'a,b'
{"a":0,"b":1}
$ json 'a||c ~b' 'a,b'
{"a":0,"b":1}
$ json 'a||c ~c' 'a,b'
{"a":0,"b":1}
$ json 'a||~c ~a' 'a,b'
{"a":0,"b":1}
$ json 'a||~c b' 'a,b'
{"a":0,"b":1}
$ json 'a||~c ~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~c c' 'a,b'
{"a":0,"b":1}
$ json '~a||a b' 'a,b'
{"a":0,"b":1}
$ json '~a||a ~b' 'a,b'
{"a":0,"b":1}
$ json '~a||a c' 'a,b'
{"a":0,"b":1}
$ json '~a||a ~c' 'a,b'
{"a":0,"b":1}
$ json '~a||b a' 'a,b'
{"a":0,"b":1}
$ json '~a||b ~b' 'a,b'
{"a":0,"b":1}
$ json '~a||b c' 'a,b'
{"a":0,"b":1}
$ json '~a||b ~c' 'a,b'
{"a":0,"b":1}
$ json '~a||~b a' 'a,b'
{"a":0,"b":1}
$ json '~a||~b b' 'a,b'
{"a":0,"b":1}
$ json '~a||~b c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~b c' 'a,b'
$ json '~a||~b ~c' 'a,b'
{"a":0,"b":1}
$ json '~a||c a' 'a,b'
{"a":0,"b":1}
$ json '~a||c b' 'a,b'
{"a":0,"b":1}
$ json '~a||c ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||c ~b' 'a,b'
$ json '~a||c ~c' 'a,b'
{"a":0,"b":1}
$ json '~a||~c a' 'a,b'
{"a":0,"b":1}
$ json '~a||~c b' 'a,b'
{"a":0,"b":1}
$ json '~a||~c ~b' 'a,b'
{"a":0,"b":1}
$ json '~a||~c c' 'a,b'
{"a":0,"b":1}
$ json 'b||a ~a' 'a,b'
{"a":0,"b":1}
$ json 'b||a ~b' 'a,b'
{"a":0,"b":1}
$ json 'b||a c' 'a,b'
{"a":0,"b":1}
$ json 'b||a ~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~a a' 'a,b'
{"a":0,"b":1}
$ json 'b||~a ~b' 'a,b'
{"a":0,"b":1}
$ json 'b||~a c' 'a,b'
{"a":0,"b":1}
$ json 'b||~a ~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~b a' 'a,b'
{"a":0,"b":1}
$ json 'b||~b ~a' 'a,b'
{"a":0,"b":1}
$ json 'b||~b c' 'a,b'
{"a":0,"b":1}
$ json 'b||~b ~c' 'a,b'
{"a":0,"b":1}
$ json 'b||c a' 'a,b'
{"a":0,"b":1}
$ json 'b||c ~a' 'a,b'
{"a":0,"b":1}
$ json 'b||c ~b' 'a,b'
{"a":0,"b":1}
$ json 'b||c ~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~c a' 'a,b'
{"a":0,"b":1}
$ json 'b||~c ~a' 'a,b'
{"a":0,"b":1}
$ json 'b||~c ~b' 'a,b'
{"a":0,"b":1}
$ json 'b||~c c' 'a,b'
{"a":0,"b":1}
$ json '~b||a ~a' 'a,b'
{"a":0,"b":1}
$ json '~b||a b' 'a,b'
{"a":0,"b":1}
$ json '~b||a c' 'a,b'
{"a":0,"b":1}
$ json '~b||a ~c' 'a,b'
{"a":0,"b":1}
$ json '~b||~a a' 'a,b'
{"a":0,"b":1}
$ json '~b||~a b' 'a,b'
{"a":0,"b":1}
$ json '~b||~a c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~a c' 'a,b'
$ json '~b||~a ~c' 'a,b'
{"a":0,"b":1}
$ json '~b||b a' 'a,b'
{"a":0,"b":1}
$ json '~b||b ~a' 'a,b'
{"a":0,"b":1}
$ json '~b||b c' 'a,b'
{"a":0,"b":1}
$ json '~b||b ~c' 'a,b'
{"a":0,"b":1}
$ json '~b||c a' 'a,b'
{"a":0,"b":1}
$ json '~b||c ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||c ~a' 'a,b'
$ json '~b||c b' 'a,b'
{"a":0,"b":1}
$ json '~b||c ~c' 'a,b'
{"a":0,"b":1}
$ json '~b||~c a' 'a,b'
{"a":0,"b":1}
$ json '~b||~c ~a' 'a,b'
{"a":0,"b":1}
$ json '~b||~c b' 'a,b'
{"a":0,"b":1}
$ json '~b||~c c' 'a,b'
{"a":0,"b":1}
$ json 'c||a ~a' 'a,b'
{"a":0,"b":1}
$ json 'c||a b' 'a,b'
{"a":0,"b":1}
$ json 'c||a ~b' 'a,b'
{"a":0,"b":1}
$ json 'c||a ~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~a a' 'a,b'
{"a":0,"b":1}
$ json 'c||~a b' 'a,b'
{"a":0,"b":1}
$ json 'c||~a ~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~a ~b' 'a,b'
$ json 'c||~a ~c' 'a,b'
{"a":0,"b":1}
$ json 'c||b a' 'a,b'
{"a":0,"b":1}
$ json 'c||b ~a' 'a,b'
{"a":0,"b":1}
$ json 'c||b ~b' 'a,b'
{"a":0,"b":1}
$ json 'c||b ~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~b a' 'a,b'
{"a":0,"b":1}
$ json 'c||~b ~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~b ~a' 'a,b'
$ json 'c||~b b' 'a,b'
{"a":0,"b":1}
$ json 'c||~b ~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~c a' 'a,b'
{"a":0,"b":1}
$ json 'c||~c ~a' 'a,b'
{"a":0,"b":1}
$ json 'c||~c b' 'a,b'
{"a":0,"b":1}
$ json 'c||~c ~b' 'a,b'
{"a":0,"b":1}
$ json '~c||a ~a' 'a,b'
{"a":0,"b":1}
$ json '~c||a b' 'a,b'
{"a":0,"b":1}
$ json '~c||a ~b' 'a,b'
{"a":0,"b":1}
$ json '~c||a c' 'a,b'
{"a":0,"b":1}
$ json '~c||~a a' 'a,b'
{"a":0,"b":1}
$ json '~c||~a b' 'a,b'
{"a":0,"b":1}
$ json '~c||~a ~b' 'a,b'
{"a":0,"b":1}
$ json '~c||~a c' 'a,b'
{"a":0,"b":1}
$ json '~c||b a' 'a,b'
{"a":0,"b":1}
$ json '~c||b ~a' 'a,b'
{"a":0,"b":1}
$ json '~c||b ~b' 'a,b'
{"a":0,"b":1}
$ json '~c||b c' 'a,b'
{"a":0,"b":1}
$ json '~c||~b a' 'a,b'
{"a":0,"b":1}
$ json '~c||~b ~a' 'a,b'
{"a":0,"b":1}
$ json '~c||~b b' 'a,b'
{"a":0,"b":1}
$ json '~c||~b c' 'a,b'
{"a":0,"b":1}
$ json '~c||c a' 'a,b'
{"a":0,"b":1}
$ json '~c||c ~a' 'a,b'
{"a":0,"b":1}
$ json '~c||c b' 'a,b'
{"a":0,"b":1}
$ json '~c||c ~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~a|b' 'a,b'
{"a":0,"b":1}
$ json 'a||~a|~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~a|c' 'a,b'
{"a":0,"b":1}
$ json 'a||~a|~c' 'a,b'
{"a":0,"b":1}
$ json 'a||b|~a' 'a,b'
{"a":0,"b":1}
$ json 'a||b|~b' 'a,b'
{"a":0,"b":1}
$ json 'a||b|c' 'a,b'
{"a":0,"b":1}
$ json 'a||b|~c' 'a,b'
{"a":0,"b":1}
$ json 'a||~b|~a' 'a,b'
{"a":0,"b":1}
$ json 'a||~b|b' 'a,b'
{"a":0,"b":1}
$ json 'a||~b|c' 'a,b'
{"a":0,"b":1}
$ json 'a||~b|~c' 'a,b'
{"a":0,"b":1}
$ json 'a||c|~a' 'a,b'
{"a":0,"b":1}
$ json 'a||c|b' 'a,b'
{"a":0,"b":1}
$ json 'a||c|~b' 'a,b'
{"a":0,"b":1}
$ json 'a||c|~c' 'a,b'
{"a":0,"b":1}
$ json 'a||~c|~a' 'a,b'
{"a":0,"b":1}
$ json 'a||~c|b' 'a,b'
{"a":0,"b":1}
$ json 'a||~c|~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~c|c' 'a,b'
{"a":0,"b":1}
$ json '~a||a|b' 'a,b'
{"a":0,"b":1}
$ json '~a||a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||a|~b' 'a,b'
$ json '~a||a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||a|c' 'a,b'
$ json '~a||a|~c' 'a,b'
{"a":0,"b":1}
$ json '~a||b|a' 'a,b'
{"a":0,"b":1}
$ json '~a||b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||b|~b' 'a,b'
$ json '~a||b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||b|c' 'a,b'
$ json '~a||b|~c' 'a,b'
{"a":0,"b":1}
$ json '~a||~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~b|a' 'a,b'
$ json '~a||~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~b|b' 'a,b'
$ json '~a||~b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~b|c' 'a,b'
$ json '~a||~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~b|~c' 'a,b'
$ json '~a||c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||c|a' 'a,b'
$ json '~a||c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||c|b' 'a,b'
$ json '~a||c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||c|~b' 'a,b'
$ json '~a||c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||c|~c' 'a,b'
$ json '~a||~c|a' 'a,b'
{"a":0,"b":1}
$ json '~a||~c|b' 'a,b'
{"a":0,"b":1}
$ json '~a||~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~c|~b' 'a,b'
$ json '~a||~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~c|c' 'a,b'
$ json 'b||a|~a' 'a,b'
{"a":0,"b":1}
$ json 'b||a|~b' 'a,b'
{"a":0,"b":1}
$ json 'b||a|c' 'a,b'
{"a":0,"b":1}
$ json 'b||a|~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~a|a' 'a,b'
{"a":0,"b":1}
$ json 'b||~a|~b' 'a,b'
{"a":0,"b":1}
$ json 'b||~a|c' 'a,b'
{"a":0,"b":1}
$ json 'b||~a|~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~b|a' 'a,b'
{"a":0,"b":1}
$ json 'b||~b|~a' 'a,b'
{"a":0,"b":1}
$ json 'b||~b|c' 'a,b'
{"a":0,"b":1}
$ json 'b||~b|~c' 'a,b'
{"a":0,"b":1}
$ json 'b||c|a' 'a,b'
{"a":0,"b":1}
$ json 'b||c|~a' 'a,b'
{"a":0,"b":1}
$ json 'b||c|~b' 'a,b'
{"a":0,"b":1}
$ json 'b||c|~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~c|a' 'a,b'
{"a":0,"b":1}
$ json 'b||~c|~a' 'a,b'
{"a":0,"b":1}
$ json 'b||~c|~b' 'a,b'
{"a":0,"b":1}
$ json 'b||~c|c' 'a,b'
{"a":0,"b":1}
$ json '~b||a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||a|~a' 'a,b'
$ json '~b||a|b' 'a,b'
{"a":0,"b":1}
$ json '~b||a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||a|c' 'a,b'
$ json '~b||a|~c' 'a,b'
{"a":0,"b":1}
$ json '~b||~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~a|a' 'a,b'
$ json '~b||~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~a|b' 'a,b'
$ json '~b||~a|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~a|c' 'a,b'
$ json '~b||~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~a|~c' 'a,b'
$ json '~b||b|a' 'a,b'
{"a":0,"b":1}
$ json '~b||b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||b|~a' 'a,b'
$ json '~b||b|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||b|c' 'a,b'
$ json '~b||b|~c' 'a,b'
{"a":0,"b":1}
$ json '~b||c|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||c|a' 'a,b'
$ json '~b||c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||c|~a' 'a,b'
$ json '~b||c|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||c|b' 'a,b'
$ json '~b||c|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||c|~c' 'a,b'
$ json '~b||~c|a' 'a,b'
{"a":0,"b":1}
$ json '~b||~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~c|~a' 'a,b'
$ json '~b||~c|b' 'a,b'
{"a":0,"b":1}
$ json '~b||~c|c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~c|c' 'a,b'
$ json 'c||a|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||a|~a' 'a,b'
$ json 'c||a|b' 'a,b'
{"a":0,"b":1}
$ json 'c||a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||a|~b' 'a,b'
$ json 'c||a|~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~a|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~a|a' 'a,b'
$ json 'c||~a|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~a|b' 'a,b'
$ json 'c||~a|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~a|~b' 'a,b'
$ json 'c||~a|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~a|~c' 'a,b'
$ json 'c||b|a' 'a,b'
{"a":0,"b":1}
$ json 'c||b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||b|~a' 'a,b'
$ json 'c||b|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||b|~b' 'a,b'
$ json 'c||b|~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~b|a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~b|a' 'a,b'
$ json 'c||~b|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~b|~a' 'a,b'
$ json 'c||~b|b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~b|b' 'a,b'
$ json 'c||~b|~c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~b|~c' 'a,b'
$ json 'c||~c|a' 'a,b'
{"a":0,"b":1}
$ json 'c||~c|~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~c|~a' 'a,b'
$ json 'c||~c|b' 'a,b'
{"a":0,"b":1}
$ json 'c||~c|~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~c|~b' 'a,b'
$ json '~c||a|~a' 'a,b'
{"a":0,"b":1}
$ json '~c||a|b' 'a,b'
{"a":0,"b":1}
$ json '~c||a|~b' 'a,b'
{"a":0,"b":1}
$ json '~c||a|c' 'a,b'
{"a":0,"b":1}
$ json '~c||~a|a' 'a,b'
{"a":0,"b":1}
$ json '~c||~a|b' 'a,b'
{"a":0,"b":1}
$ json '~c||~a|~b' 'a,b'
{"a":0,"b":1}
$ json '~c||~a|c' 'a,b'
{"a":0,"b":1}
$ json '~c||b|a' 'a,b'
{"a":0,"b":1}
$ json '~c||b|~a' 'a,b'
{"a":0,"b":1}
$ json '~c||b|~b' 'a,b'
{"a":0,"b":1}
$ json '~c||b|c' 'a,b'
{"a":0,"b":1}
$ json '~c||~b|a' 'a,b'
{"a":0,"b":1}
$ json '~c||~b|~a' 'a,b'
{"a":0,"b":1}
$ json '~c||~b|b' 'a,b'
{"a":0,"b":1}
$ json '~c||~b|c' 'a,b'
{"a":0,"b":1}
$ json '~c||c|a' 'a,b'
{"a":0,"b":1}
$ json '~c||c|~a' 'a,b'
{"a":0,"b":1}
$ json '~c||c|b' 'a,b'
{"a":0,"b":1}
$ json '~c||c|~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~a||b' 'a,b'
{"a":0,"b":1}
$ json 'a||~a||~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~a||c' 'a,b'
{"a":0,"b":1}
$ json 'a||~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'a||b||~a' 'a,b'
{"a":0,"b":1}
$ json 'a||b||~b' 'a,b'
{"a":0,"b":1}
$ json 'a||b||c' 'a,b'
{"a":0,"b":1}
$ json 'a||b||~c' 'a,b'
{"a":0,"b":1}
$ json 'a||~b||~a' 'a,b'
{"a":0,"b":1}
$ json 'a||~b||b' 'a,b'
{"a":0,"b":1}
$ json 'a||~b||c' 'a,b'
{"a":0,"b":1}
$ json 'a||~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'a||c||~a' 'a,b'
{"a":0,"b":1}
$ json 'a||c||b' 'a,b'
{"a":0,"b":1}
$ json 'a||c||~b' 'a,b'
{"a":0,"b":1}
$ json 'a||c||~c' 'a,b'
{"a":0,"b":1}
$ json 'a||~c||~a' 'a,b'
{"a":0,"b":1}
$ json 'a||~c||b' 'a,b'
{"a":0,"b":1}
$ json 'a||~c||~b' 'a,b'
{"a":0,"b":1}
$ json 'a||~c||c' 'a,b'
{"a":0,"b":1}
$ json '~a||a||b' 'a,b'
{"a":0,"b":1}
$ json '~a||a||~b' 'a,b'
{"a":0,"b":1}
$ json '~a||a||c' 'a,b'
{"a":0,"b":1}
$ json '~a||a||~c' 'a,b'
{"a":0,"b":1}
$ json '~a||b||a' 'a,b'
{"a":0,"b":1}
$ json '~a||b||~b' 'a,b'
{"a":0,"b":1}
$ json '~a||b||c' 'a,b'
{"a":0,"b":1}
$ json '~a||b||~c' 'a,b'
{"a":0,"b":1}
$ json '~a||~b||a' 'a,b'
{"a":0,"b":1}
$ json '~a||~b||b' 'a,b'
{"a":0,"b":1}
$ json '~a||~b||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||~b||c' 'a,b'
$ json '~a||~b||~c' 'a,b'
{"a":0,"b":1}
$ json '~a||c||a' 'a,b'
{"a":0,"b":1}
$ json '~a||c||b' 'a,b'
{"a":0,"b":1}
$ json '~a||c||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~a||c||~b' 'a,b'
$ json '~a||c||~c' 'a,b'
{"a":0,"b":1}
$ json '~a||~c||a' 'a,b'
{"a":0,"b":1}
$ json '~a||~c||b' 'a,b'
{"a":0,"b":1}
$ json '~a||~c||~b' 'a,b'
{"a":0,"b":1}
$ json '~a||~c||c' 'a,b'
{"a":0,"b":1}
$ json 'b||a||~a' 'a,b'
{"a":0,"b":1}
$ json 'b||a||~b' 'a,b'
{"a":0,"b":1}
$ json 'b||a||c' 'a,b'
{"a":0,"b":1}
$ json 'b||a||~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~a||a' 'a,b'
{"a":0,"b":1}
$ json 'b||~a||~b' 'a,b'
{"a":0,"b":1}
$ json 'b||~a||c' 'a,b'
{"a":0,"b":1}
$ json 'b||~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~b||a' 'a,b'
{"a":0,"b":1}
$ json 'b||~b||~a' 'a,b'
{"a":0,"b":1}
$ json 'b||~b||c' 'a,b'
{"a":0,"b":1}
$ json 'b||~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'b||c||a' 'a,b'
{"a":0,"b":1}
$ json 'b||c||~a' 'a,b'
{"a":0,"b":1}
$ json 'b||c||~b' 'a,b'
{"a":0,"b":1}
$ json 'b||c||~c' 'a,b'
{"a":0,"b":1}
$ json 'b||~c||a' 'a,b'
{"a":0,"b":1}
$ json 'b||~c||~a' 'a,b'
{"a":0,"b":1}
$ json 'b||~c||~b' 'a,b'
{"a":0,"b":1}
$ json 'b||~c||c' 'a,b'
{"a":0,"b":1}
$ json '~b||a||~a' 'a,b'
{"a":0,"b":1}
$ json '~b||a||b' 'a,b'
{"a":0,"b":1}
$ json '~b||a||c' 'a,b'
{"a":0,"b":1}
$ json '~b||a||~c' 'a,b'
{"a":0,"b":1}
$ json '~b||~a||a' 'a,b'
{"a":0,"b":1}
$ json '~b||~a||b' 'a,b'
{"a":0,"b":1}
$ json '~b||~a||c' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||~a||c' 'a,b'
$ json '~b||~a||~c' 'a,b'
{"a":0,"b":1}
$ json '~b||b||a' 'a,b'
{"a":0,"b":1}
$ json '~b||b||~a' 'a,b'
{"a":0,"b":1}
$ json '~b||b||c' 'a,b'
{"a":0,"b":1}
$ json '~b||b||~c' 'a,b'
{"a":0,"b":1}
$ json '~b||c||a' 'a,b'
{"a":0,"b":1}
$ json '~b||c||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json '~b||c||~a' 'a,b'
$ json '~b||c||b' 'a,b'
{"a":0,"b":1}
$ json '~b||c||~c' 'a,b'
{"a":0,"b":1}
$ json '~b||~c||a' 'a,b'
{"a":0,"b":1}
$ json '~b||~c||~a' 'a,b'
{"a":0,"b":1}
$ json '~b||~c||b' 'a,b'
{"a":0,"b":1}
$ json '~b||~c||c' 'a,b'
{"a":0,"b":1}
$ json 'c||a||~a' 'a,b'
{"a":0,"b":1}
$ json 'c||a||b' 'a,b'
{"a":0,"b":1}
$ json 'c||a||~b' 'a,b'
{"a":0,"b":1}
$ json 'c||a||~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~a||a' 'a,b'
{"a":0,"b":1}
$ json 'c||~a||b' 'a,b'
{"a":0,"b":1}
$ json 'c||~a||~b' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~a||~b' 'a,b'
$ json 'c||~a||~c' 'a,b'
{"a":0,"b":1}
$ json 'c||b||a' 'a,b'
{"a":0,"b":1}
$ json 'c||b||~a' 'a,b'
{"a":0,"b":1}
$ json 'c||b||~b' 'a,b'
{"a":0,"b":1}
$ json 'c||b||~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~b||a' 'a,b'
{"a":0,"b":1}
$ json 'c||~b||~a' 'a,b'
json: error: <stdin>:1:13: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"; 3rd case: "c"
json: error: <stdin>:1:13: {"a":0,"b":1}
json: error: <stdin>:1:13:             ^
{"a":0,"b":1}
command failed: json 'c||~b||~a' 'a,b'
$ json 'c||~b||b' 'a,b'
{"a":0,"b":1}
$ json 'c||~b||~c' 'a,b'
{"a":0,"b":1}
$ json 'c||~c||a' 'a,b'
{"a":0,"b":1}
$ json 'c||~c||~a' 'a,b'
{"a":0,"b":1}
$ json 'c||~c||b' 'a,b'
{"a":0,"b":1}
$ json 'c||~c||~b' 'a,b'
{"a":0,"b":1}
$ json '~c||a||~a' 'a,b'
{"a":0,"b":1}
$ json '~c||a||b' 'a,b'
{"a":0,"b":1}
$ json '~c||a||~b' 'a,b'
{"a":0,"b":1}
$ json '~c||a||c' 'a,b'
{"a":0,"b":1}
$ json '~c||~a||a' 'a,b'
{"a":0,"b":1}
$ json '~c||~a||b' 'a,b'
{"a":0,"b":1}
$ json '~c||~a||~b' 'a,b'
{"a":0,"b":1}
$ json '~c||~a||c' 'a,b'
{"a":0,"b":1}
$ json '~c||b||a' 'a,b'
{"a":0,"b":1}
$ json '~c||b||~a' 'a,b'
{"a":0,"b":1}
$ json '~c||b||~b' 'a,b'
{"a":0,"b":1}
$ json '~c||b||c' 'a,b'
{"a":0,"b":1}
$ json '~c||~b||a' 'a,b'
{"a":0,"b":1}
$ json '~c||~b||~a' 'a,b'
{"a":0,"b":1}
$ json '~c||~b||b' 'a,b'
{"a":0,"b":1}
$ json '~c||~b||c' 'a,b'
{"a":0,"b":1}
$ json '~c||c||a' 'a,b'
{"a":0,"b":1}
$ json '~c||c||~a' 'a,b'
{"a":0,"b":1}
$ json '~c||c||b' 'a,b'
{"a":0,"b":1}
$ json '~c||c||~b' 'a,b'
{"a":0,"b":1}
$

--[ dict-expr5 ]----------------------------------------------------------------

$ json() { set -o pipefail && ../lib/test-gen --dict -V -d1 -k3 -ae "$2"|LD_LIBRARY_PATH=../lib ../src/json -EV -t <(../lib/test-gen --dict -T -d1 -k3 -ae "$1"); }
#
# # meta command:
# $ for o1 in ' ' '|' '||'; do for o2 in ' ' '|' '||'; do for x in a '~a' b '~b' c '~c'; do for y in a '~a' b '~b' c '~c'; do for z in a '~a' b '~b' c '~c'; do [ "$x" == "$y" -o "$y" == "$z" -o "$z" == "$x" ] && continue; c="json '$x$o1$y$o2$z' 'a,b,c'"; echo "$ $c"; eval "$c 2>&1" || echo "command failed: $c"; done; done; done; done; done
#
$ json 'a ~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a ~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a ~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b ~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b ~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c ~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c ~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a|~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a|~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b|~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b|~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c|~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c|c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b ~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c ~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c ~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b|~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b|c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c|a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c|~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c|b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c|~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'a||~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~a||~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'b||~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||c||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~b||~c||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~a||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~b||~c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json 'c||~c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~a||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||~b||c' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c||a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c||~a' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c||b' 'a,b,c'
{"a":0,"b":1,"c":2}
$ json '~c||c||~b' 'a,b,c'
{"a":0,"b":1,"c":2}
$

--[ dict-expr6 ]----------------------------------------------------------------

$ json() { set -o pipefail && ../lib/test-gen --dict -V -d1 -k3 -ae "$2"|LD_LIBRARY_PATH=../lib ../src/json -EV -t <(../lib/test-gen --dict -T -d1 -k3 -ae "$1"); }
#
# # meta command:
# $ for o1 in ' ' '|' '||'; do for o2 in ' ' '|' '||'; do for x in a '~a' b '~b' c '~c'; do for y in a '~a' b '~b' c '~c'; do for z in a '~a' b '~b' c '~c'; do [ "$x" == "$y" -o "$y" == "$z" -o "$z" == "$x" ] && continue; c="json '$x$o1$y$o2$z' 'z'"; echo "$ $c"; eval "$c 2>&1" || echo "command failed: $c"; done; done; done; done; done
#
$ json 'a ~a b' 'z'
{}
$ json 'a ~a ~b' 'z'
{}
$ json 'a ~a c' 'z'
{}
$ json 'a ~a ~c' 'z'
{}
$ json 'a b ~a' 'z'
{}
$ json 'a b ~b' 'z'
{}
$ json 'a b c' 'z'
{}
$ json 'a b ~c' 'z'
{}
$ json 'a ~b ~a' 'z'
{}
$ json 'a ~b b' 'z'
{}
$ json 'a ~b c' 'z'
{}
$ json 'a ~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b ~c' 'z'
$ json 'a c ~a' 'z'
{}
$ json 'a c b' 'z'
{}
$ json 'a c ~b' 'z'
{}
$ json 'a c ~c' 'z'
{}
$ json 'a ~c ~a' 'z'
{}
$ json 'a ~c b' 'z'
{}
$ json 'a ~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c ~b' 'z'
$ json 'a ~c c' 'z'
{}
$ json '~a a b' 'z'
{}
$ json '~a a ~b' 'z'
{}
$ json '~a a c' 'z'
{}
$ json '~a a ~c' 'z'
{}
$ json '~a b a' 'z'
{}
$ json '~a b ~b' 'z'
{}
$ json '~a b c' 'z'
{}
$ json '~a b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b ~c' 'z'
$ json '~a ~b a' 'z'
{}
$ json '~a ~b b' 'z'
{}
$ json '~a ~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b c' 'z'
$ json '~a ~b ~c' 'z'
{}
$ json '~a c a' 'z'
{}
$ json '~a c b' 'z'
{}
$ json '~a c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c ~b' 'z'
$ json '~a c ~c' 'z'
{}
$ json '~a ~c a' 'z'
{}
$ json '~a ~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c b' 'z'
$ json '~a ~c ~b' 'z'
{}
$ json '~a ~c c' 'z'
{}
$ json 'b a ~a' 'z'
{}
$ json 'b a ~b' 'z'
{}
$ json 'b a c' 'z'
{}
$ json 'b a ~c' 'z'
{}
$ json 'b ~a a' 'z'
{}
$ json 'b ~a ~b' 'z'
{}
$ json 'b ~a c' 'z'
{}
$ json 'b ~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a ~c' 'z'
$ json 'b ~b a' 'z'
{}
$ json 'b ~b ~a' 'z'
{}
$ json 'b ~b c' 'z'
{}
$ json 'b ~b ~c' 'z'
{}
$ json 'b c a' 'z'
{}
$ json 'b c ~a' 'z'
{}
$ json 'b c ~b' 'z'
{}
$ json 'b c ~c' 'z'
{}
$ json 'b ~c a' 'z'
{}
$ json 'b ~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c ~a' 'z'
$ json 'b ~c ~b' 'z'
{}
$ json 'b ~c c' 'z'
{}
$ json '~b a ~a' 'z'
{}
$ json '~b a b' 'z'
{}
$ json '~b a c' 'z'
{}
$ json '~b a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a ~c' 'z'
$ json '~b ~a a' 'z'
{}
$ json '~b ~a b' 'z'
{}
$ json '~b ~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a c' 'z'
$ json '~b ~a ~c' 'z'
{}
$ json '~b b a' 'z'
{}
$ json '~b b ~a' 'z'
{}
$ json '~b b c' 'z'
{}
$ json '~b b ~c' 'z'
{}
$ json '~b c a' 'z'
{}
$ json '~b c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c ~a' 'z'
$ json '~b c b' 'z'
{}
$ json '~b c ~c' 'z'
{}
$ json '~b ~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c a' 'z'
$ json '~b ~c ~a' 'z'
{}
$ json '~b ~c b' 'z'
{}
$ json '~b ~c c' 'z'
{}
$ json 'c a ~a' 'z'
{}
$ json 'c a b' 'z'
{}
$ json 'c a ~b' 'z'
{}
$ json 'c a ~c' 'z'
{}
$ json 'c ~a a' 'z'
{}
$ json 'c ~a b' 'z'
{}
$ json 'c ~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a ~b' 'z'
$ json 'c ~a ~c' 'z'
{}
$ json 'c b a' 'z'
{}
$ json 'c b ~a' 'z'
{}
$ json 'c b ~b' 'z'
{}
$ json 'c b ~c' 'z'
{}
$ json 'c ~b a' 'z'
{}
$ json 'c ~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b ~a' 'z'
$ json 'c ~b b' 'z'
{}
$ json 'c ~b ~c' 'z'
{}
$ json 'c ~c a' 'z'
{}
$ json 'c ~c ~a' 'z'
{}
$ json 'c ~c b' 'z'
{}
$ json 'c ~c ~b' 'z'
{}
$ json '~c a ~a' 'z'
{}
$ json '~c a b' 'z'
{}
$ json '~c a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a ~b' 'z'
$ json '~c a c' 'z'
{}
$ json '~c ~a a' 'z'
{}
$ json '~c ~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a b' 'z'
$ json '~c ~a ~b' 'z'
{}
$ json '~c ~a c' 'z'
{}
$ json '~c b a' 'z'
{}
$ json '~c b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b ~a' 'z'
$ json '~c b ~b' 'z'
{}
$ json '~c b c' 'z'
{}
$ json '~c ~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b a' 'z'
$ json '~c ~b ~a' 'z'
{}
$ json '~c ~b b' 'z'
{}
$ json '~c ~b c' 'z'
{}
$ json '~c c a' 'z'
{}
$ json '~c c ~a' 'z'
{}
$ json '~c c b' 'z'
{}
$ json '~c c ~b' 'z'
{}
$ json 'a ~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~a|b' 'z'
$ json 'a ~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~a|~b' 'z'
$ json 'a ~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~a|c' 'z'
$ json 'a ~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~a|~c' 'z'
$ json 'a b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a b|~a' 'z'
$ json 'a b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a b|~b' 'z'
$ json 'a b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a b|c' 'z'
$ json 'a b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a b|~c' 'z'
$ json 'a ~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b|~a' 'z'
$ json 'a ~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b|b' 'z'
$ json 'a ~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b|c' 'z'
$ json 'a ~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b|~c' 'z'
$ json 'a c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a c|~a' 'z'
$ json 'a c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a c|b' 'z'
$ json 'a c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a c|~b' 'z'
$ json 'a c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a c|~c' 'z'
$ json 'a ~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c|~a' 'z'
$ json 'a ~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c|b' 'z'
$ json 'a ~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c|~b' 'z'
$ json 'a ~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c|c' 'z'
$ json '~a a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a a|b' 'z'
$ json '~a a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a a|~b' 'z'
$ json '~a a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a a|c' 'z'
$ json '~a a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a a|~c' 'z'
$ json '~a b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b|a' 'z'
$ json '~a b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b|~b' 'z'
$ json '~a b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b|c' 'z'
$ json '~a b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b|~c' 'z'
$ json '~a ~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b|a' 'z'
$ json '~a ~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b|b' 'z'
$ json '~a ~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b|c' 'z'
$ json '~a ~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b|~c' 'z'
$ json '~a c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c|a' 'z'
$ json '~a c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c|b' 'z'
$ json '~a c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c|~b' 'z'
$ json '~a c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c|~c' 'z'
$ json '~a ~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c|a' 'z'
$ json '~a ~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c|b' 'z'
$ json '~a ~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c|~b' 'z'
$ json '~a ~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c|c' 'z'
$ json 'b a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b a|~a' 'z'
$ json 'b a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b a|~b' 'z'
$ json 'b a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b a|c' 'z'
$ json 'b a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b a|~c' 'z'
$ json 'b ~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a|a' 'z'
$ json 'b ~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a|~b' 'z'
$ json 'b ~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a|c' 'z'
$ json 'b ~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a|~c' 'z'
$ json 'b ~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~b|a' 'z'
$ json 'b ~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~b|~a' 'z'
$ json 'b ~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~b|c' 'z'
$ json 'b ~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~b|~c' 'z'
$ json 'b c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b c|a' 'z'
$ json 'b c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b c|~a' 'z'
$ json 'b c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b c|~b' 'z'
$ json 'b c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b c|~c' 'z'
$ json 'b ~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c|a' 'z'
$ json 'b ~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c|~a' 'z'
$ json 'b ~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c|~b' 'z'
$ json 'b ~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c|c' 'z'
$ json '~b a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a|~a' 'z'
$ json '~b a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a|b' 'z'
$ json '~b a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a|c' 'z'
$ json '~b a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a|~c' 'z'
$ json '~b ~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a|a' 'z'
$ json '~b ~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a|b' 'z'
$ json '~b ~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a|c' 'z'
$ json '~b ~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a|~c' 'z'
$ json '~b b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b b|a' 'z'
$ json '~b b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b b|~a' 'z'
$ json '~b b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b b|c' 'z'
$ json '~b b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b b|~c' 'z'
$ json '~b c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c|a' 'z'
$ json '~b c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c|~a' 'z'
$ json '~b c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c|b' 'z'
$ json '~b c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c|~c' 'z'
$ json '~b ~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c|a' 'z'
$ json '~b ~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c|~a' 'z'
$ json '~b ~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c|b' 'z'
$ json '~b ~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c|c' 'z'
$ json 'c a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c a|~a' 'z'
$ json 'c a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c a|b' 'z'
$ json 'c a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c a|~b' 'z'
$ json 'c a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c a|~c' 'z'
$ json 'c ~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a|a' 'z'
$ json 'c ~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a|b' 'z'
$ json 'c ~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a|~b' 'z'
$ json 'c ~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a|~c' 'z'
$ json 'c b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c b|a' 'z'
$ json 'c b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c b|~a' 'z'
$ json 'c b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c b|~b' 'z'
$ json 'c b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c b|~c' 'z'
$ json 'c ~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b|a' 'z'
$ json 'c ~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b|~a' 'z'
$ json 'c ~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b|b' 'z'
$ json 'c ~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b|~c' 'z'
$ json 'c ~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~c|a' 'z'
$ json 'c ~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~c|~a' 'z'
$ json 'c ~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~c|b' 'z'
$ json 'c ~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~c|~b' 'z'
$ json '~c a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a|~a' 'z'
$ json '~c a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a|b' 'z'
$ json '~c a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a|~b' 'z'
$ json '~c a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a|c' 'z'
$ json '~c ~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a|a' 'z'
$ json '~c ~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a|b' 'z'
$ json '~c ~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a|~b' 'z'
$ json '~c ~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a|c' 'z'
$ json '~c b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b|a' 'z'
$ json '~c b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b|~a' 'z'
$ json '~c b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b|~b' 'z'
$ json '~c b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b|c' 'z'
$ json '~c ~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b|a' 'z'
$ json '~c ~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b|~a' 'z'
$ json '~c ~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b|b' 'z'
$ json '~c ~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b|c' 'z'
$ json '~c c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c c|a' 'z'
$ json '~c c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c c|~a' 'z'
$ json '~c c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c c|b' 'z'
$ json '~c c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c c|~b' 'z'
$ json 'a ~a||b' 'z'
{}
$ json 'a ~a||~b' 'z'
{}
$ json 'a ~a||c' 'z'
{}
$ json 'a ~a||~c' 'z'
{}
$ json 'a b||~a' 'z'
{}
$ json 'a b||~b' 'z'
{}
$ json 'a b||c' 'z'
{}
$ json 'a b||~c' 'z'
{}
$ json 'a ~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b||~a' 'z'
$ json 'a ~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b||b' 'z'
$ json 'a ~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b||c' 'z'
$ json 'a ~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~b||~c' 'z'
$ json 'a c||~a' 'z'
{}
$ json 'a c||b' 'z'
{}
$ json 'a c||~b' 'z'
{}
$ json 'a c||~c' 'z'
{}
$ json 'a ~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c||~a' 'z'
$ json 'a ~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c||b' 'z'
$ json 'a ~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c||~b' 'z'
$ json 'a ~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a ~c||c' 'z'
$ json '~a a||b' 'z'
{}
$ json '~a a||~b' 'z'
{}
$ json '~a a||c' 'z'
{}
$ json '~a a||~c' 'z'
{}
$ json '~a b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b||a' 'z'
$ json '~a b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b||~b' 'z'
$ json '~a b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b||c' 'z'
$ json '~a b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a b||~c' 'z'
$ json '~a ~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b||a' 'z'
$ json '~a ~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b||b' 'z'
$ json '~a ~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b||c' 'z'
$ json '~a ~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~b||~c' 'z'
$ json '~a c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c||a' 'z'
$ json '~a c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c||b' 'z'
$ json '~a c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c||~b' 'z'
$ json '~a c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a c||~c' 'z'
$ json '~a ~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c||a' 'z'
$ json '~a ~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c||b' 'z'
$ json '~a ~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c||~b' 'z'
$ json '~a ~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a ~c||c' 'z'
$ json 'b a||~a' 'z'
{}
$ json 'b a||~b' 'z'
{}
$ json 'b a||c' 'z'
{}
$ json 'b a||~c' 'z'
{}
$ json 'b ~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a||a' 'z'
$ json 'b ~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a||~b' 'z'
$ json 'b ~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a||c' 'z'
$ json 'b ~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~a||~c' 'z'
$ json 'b ~b||a' 'z'
{}
$ json 'b ~b||~a' 'z'
{}
$ json 'b ~b||c' 'z'
{}
$ json 'b ~b||~c' 'z'
{}
$ json 'b c||a' 'z'
{}
$ json 'b c||~a' 'z'
{}
$ json 'b c||~b' 'z'
{}
$ json 'b c||~c' 'z'
{}
$ json 'b ~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c||a' 'z'
$ json 'b ~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c||~a' 'z'
$ json 'b ~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c||~b' 'z'
$ json 'b ~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b ~c||c' 'z'
$ json '~b a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a||~a' 'z'
$ json '~b a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a||b' 'z'
$ json '~b a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a||c' 'z'
$ json '~b a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b a||~c' 'z'
$ json '~b ~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a||a' 'z'
$ json '~b ~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a||b' 'z'
$ json '~b ~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a||c' 'z'
$ json '~b ~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~a||~c' 'z'
$ json '~b b||a' 'z'
{}
$ json '~b b||~a' 'z'
{}
$ json '~b b||c' 'z'
{}
$ json '~b b||~c' 'z'
{}
$ json '~b c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c||a' 'z'
$ json '~b c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c||~a' 'z'
$ json '~b c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c||b' 'z'
$ json '~b c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b c||~c' 'z'
$ json '~b ~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c||a' 'z'
$ json '~b ~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c||~a' 'z'
$ json '~b ~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c||b' 'z'
$ json '~b ~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b ~c||c' 'z'
$ json 'c a||~a' 'z'
{}
$ json 'c a||b' 'z'
{}
$ json 'c a||~b' 'z'
{}
$ json 'c a||~c' 'z'
{}
$ json 'c ~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a||a' 'z'
$ json 'c ~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a||b' 'z'
$ json 'c ~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a||~b' 'z'
$ json 'c ~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~a||~c' 'z'
$ json 'c b||a' 'z'
{}
$ json 'c b||~a' 'z'
{}
$ json 'c b||~b' 'z'
{}
$ json 'c b||~c' 'z'
{}
$ json 'c ~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b||a' 'z'
$ json 'c ~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b||~a' 'z'
$ json 'c ~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b||b' 'z'
$ json 'c ~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c ~b||~c' 'z'
$ json 'c ~c||a' 'z'
{}
$ json 'c ~c||~a' 'z'
{}
$ json 'c ~c||b' 'z'
{}
$ json 'c ~c||~b' 'z'
{}
$ json '~c a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a||~a' 'z'
$ json '~c a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a||b' 'z'
$ json '~c a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a||~b' 'z'
$ json '~c a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c a||c' 'z'
$ json '~c ~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a||a' 'z'
$ json '~c ~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a||b' 'z'
$ json '~c ~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a||~b' 'z'
$ json '~c ~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~a||c' 'z'
$ json '~c b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b||a' 'z'
$ json '~c b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b||~a' 'z'
$ json '~c b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b||~b' 'z'
$ json '~c b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c b||c' 'z'
$ json '~c ~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b||a' 'z'
$ json '~c ~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b||~a' 'z'
$ json '~c ~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b||b' 'z'
$ json '~c ~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c ~b||c' 'z'
$ json '~c c||a' 'z'
{}
$ json '~c c||~a' 'z'
{}
$ json '~c c||b' 'z'
{}
$ json '~c c||~b' 'z'
{}
$ json 'a|~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a b' 'z'
$ json 'a|~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a ~b' 'z'
$ json 'a|~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a c' 'z'
$ json 'a|~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a ~c' 'z'
$ json 'a|b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b ~a' 'z'
$ json 'a|b ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b ~b' 'z'
$ json 'a|b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b c' 'z'
$ json 'a|b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b ~c' 'z'
$ json 'a|~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b ~a' 'z'
$ json 'a|~b b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b b' 'z'
$ json 'a|~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b c' 'z'
$ json 'a|~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b ~c' 'z'
$ json 'a|c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c ~a' 'z'
$ json 'a|c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c b' 'z'
$ json 'a|c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c ~b' 'z'
$ json 'a|c ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c ~c' 'z'
$ json 'a|~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c ~a' 'z'
$ json 'a|~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c b' 'z'
$ json 'a|~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c ~b' 'z'
$ json 'a|~c c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c c' 'z'
$ json '~a|a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a b' 'z'
$ json '~a|a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a ~b' 'z'
$ json '~a|a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a c' 'z'
$ json '~a|a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a ~c' 'z'
$ json '~a|b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b a' 'z'
$ json '~a|b ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b ~b' 'z'
$ json '~a|b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b c' 'z'
$ json '~a|b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b ~c' 'z'
$ json '~a|~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b a' 'z'
$ json '~a|~b b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b b' 'z'
$ json '~a|~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b c' 'z'
$ json '~a|~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b ~c' 'z'
$ json '~a|c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c a' 'z'
$ json '~a|c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c b' 'z'
$ json '~a|c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c ~b' 'z'
$ json '~a|c ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c ~c' 'z'
$ json '~a|~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c a' 'z'
$ json '~a|~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c b' 'z'
$ json '~a|~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c ~b' 'z'
$ json '~a|~c c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c c' 'z'
$ json 'b|a ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a ~a' 'z'
$ json 'b|a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a ~b' 'z'
$ json 'b|a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a c' 'z'
$ json 'b|a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a ~c' 'z'
$ json 'b|~a a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a a' 'z'
$ json 'b|~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a ~b' 'z'
$ json 'b|~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a c' 'z'
$ json 'b|~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a ~c' 'z'
$ json 'b|~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b a' 'z'
$ json 'b|~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b ~a' 'z'
$ json 'b|~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b c' 'z'
$ json 'b|~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b ~c' 'z'
$ json 'b|c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c a' 'z'
$ json 'b|c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c ~a' 'z'
$ json 'b|c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c ~b' 'z'
$ json 'b|c ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c ~c' 'z'
$ json 'b|~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c a' 'z'
$ json 'b|~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c ~a' 'z'
$ json 'b|~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c ~b' 'z'
$ json 'b|~c c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c c' 'z'
$ json '~b|a ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a ~a' 'z'
$ json '~b|a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a b' 'z'
$ json '~b|a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a c' 'z'
$ json '~b|a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a ~c' 'z'
$ json '~b|~a a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a a' 'z'
$ json '~b|~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a b' 'z'
$ json '~b|~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a c' 'z'
$ json '~b|~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a ~c' 'z'
$ json '~b|b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b a' 'z'
$ json '~b|b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b ~a' 'z'
$ json '~b|b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b c' 'z'
$ json '~b|b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b ~c' 'z'
$ json '~b|c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c a' 'z'
$ json '~b|c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c ~a' 'z'
$ json '~b|c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c b' 'z'
$ json '~b|c ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c ~c' 'z'
$ json '~b|~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c a' 'z'
$ json '~b|~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c ~a' 'z'
$ json '~b|~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c b' 'z'
$ json '~b|~c c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c c' 'z'
$ json 'c|a ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a ~a' 'z'
$ json 'c|a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a b' 'z'
$ json 'c|a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a ~b' 'z'
$ json 'c|a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a ~c' 'z'
$ json 'c|~a a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a a' 'z'
$ json 'c|~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a b' 'z'
$ json 'c|~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a ~b' 'z'
$ json 'c|~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a ~c' 'z'
$ json 'c|b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b a' 'z'
$ json 'c|b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b ~a' 'z'
$ json 'c|b ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b ~b' 'z'
$ json 'c|b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b ~c' 'z'
$ json 'c|~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b a' 'z'
$ json 'c|~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b ~a' 'z'
$ json 'c|~b b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b b' 'z'
$ json 'c|~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b ~c' 'z'
$ json 'c|~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c a' 'z'
$ json 'c|~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c ~a' 'z'
$ json 'c|~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c b' 'z'
$ json 'c|~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c ~b' 'z'
$ json '~c|a ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a ~a' 'z'
$ json '~c|a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a b' 'z'
$ json '~c|a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a ~b' 'z'
$ json '~c|a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a c' 'z'
$ json '~c|~a a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a a' 'z'
$ json '~c|~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a b' 'z'
$ json '~c|~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a ~b' 'z'
$ json '~c|~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a c' 'z'
$ json '~c|b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b a' 'z'
$ json '~c|b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b ~a' 'z'
$ json '~c|b ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b ~b' 'z'
$ json '~c|b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b c' 'z'
$ json '~c|~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b a' 'z'
$ json '~c|~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b ~a' 'z'
$ json '~c|~b b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b b' 'z'
$ json '~c|~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b c' 'z'
$ json '~c|c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c a' 'z'
$ json '~c|c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c ~a' 'z'
$ json '~c|c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c b' 'z'
$ json '~c|c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c ~b' 'z'
$ json 'a|~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a|b' 'z'
$ json 'a|~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a|~b' 'z'
$ json 'a|~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a|c' 'z'
$ json 'a|~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a|~c' 'z'
$ json 'a|b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b|~a' 'z'
$ json 'a|b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b|~b' 'z'
$ json 'a|b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b|c' 'z'
$ json 'a|b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b|~c' 'z'
$ json 'a|~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b|~a' 'z'
$ json 'a|~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b|b' 'z'
$ json 'a|~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b|c' 'z'
$ json 'a|~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b|~c' 'z'
$ json 'a|c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c|~a' 'z'
$ json 'a|c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c|b' 'z'
$ json 'a|c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c|~b' 'z'
$ json 'a|c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c|~c' 'z'
$ json 'a|~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c|~a' 'z'
$ json 'a|~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c|b' 'z'
$ json 'a|~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c|~b' 'z'
$ json 'a|~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c|c' 'z'
$ json '~a|a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a|b' 'z'
$ json '~a|a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a|~b' 'z'
$ json '~a|a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a|c' 'z'
$ json '~a|a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a|~c' 'z'
$ json '~a|b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b|a' 'z'
$ json '~a|b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b|~b' 'z'
$ json '~a|b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b|c' 'z'
$ json '~a|b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b|~c' 'z'
$ json '~a|~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b|a' 'z'
$ json '~a|~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b|b' 'z'
$ json '~a|~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b|c' 'z'
$ json '~a|~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b|~c' 'z'
$ json '~a|c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c|a' 'z'
$ json '~a|c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c|b' 'z'
$ json '~a|c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c|~b' 'z'
$ json '~a|c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c|~c' 'z'
$ json '~a|~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c|a' 'z'
$ json '~a|~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c|b' 'z'
$ json '~a|~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c|~b' 'z'
$ json '~a|~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c|c' 'z'
$ json 'b|a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a|~a' 'z'
$ json 'b|a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a|~b' 'z'
$ json 'b|a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a|c' 'z'
$ json 'b|a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a|~c' 'z'
$ json 'b|~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a|a' 'z'
$ json 'b|~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a|~b' 'z'
$ json 'b|~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a|c' 'z'
$ json 'b|~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a|~c' 'z'
$ json 'b|~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b|a' 'z'
$ json 'b|~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b|~a' 'z'
$ json 'b|~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b|c' 'z'
$ json 'b|~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b|~c' 'z'
$ json 'b|c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c|a' 'z'
$ json 'b|c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c|~a' 'z'
$ json 'b|c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c|~b' 'z'
$ json 'b|c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c|~c' 'z'
$ json 'b|~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c|a' 'z'
$ json 'b|~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c|~a' 'z'
$ json 'b|~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c|~b' 'z'
$ json 'b|~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c|c' 'z'
$ json '~b|a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a|~a' 'z'
$ json '~b|a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a|b' 'z'
$ json '~b|a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a|c' 'z'
$ json '~b|a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a|~c' 'z'
$ json '~b|~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a|a' 'z'
$ json '~b|~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a|b' 'z'
$ json '~b|~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a|c' 'z'
$ json '~b|~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a|~c' 'z'
$ json '~b|b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b|a' 'z'
$ json '~b|b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b|~a' 'z'
$ json '~b|b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b|c' 'z'
$ json '~b|b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b|~c' 'z'
$ json '~b|c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c|a' 'z'
$ json '~b|c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c|~a' 'z'
$ json '~b|c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c|b' 'z'
$ json '~b|c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c|~c' 'z'
$ json '~b|~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c|a' 'z'
$ json '~b|~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c|~a' 'z'
$ json '~b|~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c|b' 'z'
$ json '~b|~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c|c' 'z'
$ json 'c|a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a|~a' 'z'
$ json 'c|a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a|b' 'z'
$ json 'c|a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a|~b' 'z'
$ json 'c|a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a|~c' 'z'
$ json 'c|~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a|a' 'z'
$ json 'c|~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a|b' 'z'
$ json 'c|~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a|~b' 'z'
$ json 'c|~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a|~c' 'z'
$ json 'c|b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b|a' 'z'
$ json 'c|b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b|~a' 'z'
$ json 'c|b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b|~b' 'z'
$ json 'c|b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b|~c' 'z'
$ json 'c|~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b|a' 'z'
$ json 'c|~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b|~a' 'z'
$ json 'c|~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b|b' 'z'
$ json 'c|~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b|~c' 'z'
$ json 'c|~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c|a' 'z'
$ json 'c|~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c|~a' 'z'
$ json 'c|~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c|b' 'z'
$ json 'c|~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c|~b' 'z'
$ json '~c|a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a|~a' 'z'
$ json '~c|a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a|b' 'z'
$ json '~c|a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a|~b' 'z'
$ json '~c|a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a|c' 'z'
$ json '~c|~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a|a' 'z'
$ json '~c|~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a|b' 'z'
$ json '~c|~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a|~b' 'z'
$ json '~c|~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a|c' 'z'
$ json '~c|b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b|a' 'z'
$ json '~c|b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b|~a' 'z'
$ json '~c|b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b|~b' 'z'
$ json '~c|b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b|c' 'z'
$ json '~c|~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b|a' 'z'
$ json '~c|~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b|~a' 'z'
$ json '~c|~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b|b' 'z'
$ json '~c|~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b|c' 'z'
$ json '~c|c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c|a' 'z'
$ json '~c|c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c|~a' 'z'
$ json '~c|c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c|b' 'z'
$ json '~c|c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c|~b' 'z'
$ json 'a|~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a||b' 'z'
$ json 'a|~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a||~b' 'z'
$ json 'a|~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a||c' 'z'
$ json 'a|~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~a||~c' 'z'
$ json 'a|b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b||~a' 'z'
$ json 'a|b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b||~b' 'z'
$ json 'a|b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b||c' 'z'
$ json 'a|b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|b||~c' 'z'
$ json 'a|~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b||~a' 'z'
$ json 'a|~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b||b' 'z'
$ json 'a|~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b||c' 'z'
$ json 'a|~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~b||~c' 'z'
$ json 'a|c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c||~a' 'z'
$ json 'a|c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c||b' 'z'
$ json 'a|c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c||~b' 'z'
$ json 'a|c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|c||~c' 'z'
$ json 'a|~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c||~a' 'z'
$ json 'a|~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c||b' 'z'
$ json 'a|~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c||~b' 'z'
$ json 'a|~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a|~c||c' 'z'
$ json '~a|a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a||b' 'z'
$ json '~a|a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a||~b' 'z'
$ json '~a|a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a||c' 'z'
$ json '~a|a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|a||~c' 'z'
$ json '~a|b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b||a' 'z'
$ json '~a|b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b||~b' 'z'
$ json '~a|b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b||c' 'z'
$ json '~a|b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|b||~c' 'z'
$ json '~a|~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b||a' 'z'
$ json '~a|~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b||b' 'z'
$ json '~a|~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b||c' 'z'
$ json '~a|~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~b||~c' 'z'
$ json '~a|c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c||a' 'z'
$ json '~a|c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c||b' 'z'
$ json '~a|c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c||~b' 'z'
$ json '~a|c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|c||~c' 'z'
$ json '~a|~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c||a' 'z'
$ json '~a|~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c||b' 'z'
$ json '~a|~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c||~b' 'z'
$ json '~a|~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a|~c||c' 'z'
$ json 'b|a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a||~a' 'z'
$ json 'b|a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a||~b' 'z'
$ json 'b|a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a||c' 'z'
$ json 'b|a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|a||~c' 'z'
$ json 'b|~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a||a' 'z'
$ json 'b|~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a||~b' 'z'
$ json 'b|~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a||c' 'z'
$ json 'b|~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~a||~c' 'z'
$ json 'b|~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b||a' 'z'
$ json 'b|~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b||~a' 'z'
$ json 'b|~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b||c' 'z'
$ json 'b|~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~b||~c' 'z'
$ json 'b|c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c||a' 'z'
$ json 'b|c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c||~a' 'z'
$ json 'b|c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c||~b' 'z'
$ json 'b|c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|c||~c' 'z'
$ json 'b|~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c||a' 'z'
$ json 'b|~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c||~a' 'z'
$ json 'b|~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c||~b' 'z'
$ json 'b|~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b|~c||c' 'z'
$ json '~b|a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a||~a' 'z'
$ json '~b|a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a||b' 'z'
$ json '~b|a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a||c' 'z'
$ json '~b|a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|a||~c' 'z'
$ json '~b|~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a||a' 'z'
$ json '~b|~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a||b' 'z'
$ json '~b|~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a||c' 'z'
$ json '~b|~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~a||~c' 'z'
$ json '~b|b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b||a' 'z'
$ json '~b|b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b||~a' 'z'
$ json '~b|b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b||c' 'z'
$ json '~b|b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|b||~c' 'z'
$ json '~b|c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c||a' 'z'
$ json '~b|c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c||~a' 'z'
$ json '~b|c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c||b' 'z'
$ json '~b|c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|c||~c' 'z'
$ json '~b|~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c||a' 'z'
$ json '~b|~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c||~a' 'z'
$ json '~b|~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c||b' 'z'
$ json '~b|~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b|~c||c' 'z'
$ json 'c|a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a||~a' 'z'
$ json 'c|a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a||b' 'z'
$ json 'c|a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a||~b' 'z'
$ json 'c|a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|a||~c' 'z'
$ json 'c|~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a||a' 'z'
$ json 'c|~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a||b' 'z'
$ json 'c|~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a||~b' 'z'
$ json 'c|~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~a||~c' 'z'
$ json 'c|b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b||a' 'z'
$ json 'c|b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b||~a' 'z'
$ json 'c|b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b||~b' 'z'
$ json 'c|b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|b||~c' 'z'
$ json 'c|~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b||a' 'z'
$ json 'c|~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b||~a' 'z'
$ json 'c|~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b||b' 'z'
$ json 'c|~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~b||~c' 'z'
$ json 'c|~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c||a' 'z'
$ json 'c|~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c||~a' 'z'
$ json 'c|~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c||b' 'z'
$ json 'c|~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c|~c||~b' 'z'
$ json '~c|a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a||~a' 'z'
$ json '~c|a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a||b' 'z'
$ json '~c|a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a||~b' 'z'
$ json '~c|a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|a||c' 'z'
$ json '~c|~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a||a' 'z'
$ json '~c|~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a||b' 'z'
$ json '~c|~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a||~b' 'z'
$ json '~c|~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~a||c' 'z'
$ json '~c|b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b||a' 'z'
$ json '~c|b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b||~a' 'z'
$ json '~c|b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b||~b' 'z'
$ json '~c|b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|b||c' 'z'
$ json '~c|~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b||a' 'z'
$ json '~c|~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b||~a' 'z'
$ json '~c|~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b||b' 'z'
$ json '~c|~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|~b||c' 'z'
$ json '~c|c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c||a' 'z'
$ json '~c|c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c||~a' 'z'
$ json '~c|c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c||b' 'z'
$ json '~c|c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a", "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c|c||~b' 'z'
$ json 'a||~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a b' 'z'
$ json 'a||~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a ~b' 'z'
$ json 'a||~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a c' 'z'
$ json 'a||~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a ~c' 'z'
$ json 'a||b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b ~a' 'z'
$ json 'a||b ~b' 'z'
{}
$ json 'a||b c' 'z'
{}
$ json 'a||b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b ~c' 'z'
$ json 'a||~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b ~a' 'z'
$ json 'a||~b b' 'z'
{}
$ json 'a||~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b c' 'z'
$ json 'a||~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b ~c' 'z'
$ json 'a||c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c ~a' 'z'
$ json 'a||c b' 'z'
{}
$ json 'a||c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c ~b' 'z'
$ json 'a||c ~c' 'z'
{}
$ json 'a||~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c ~a' 'z'
$ json 'a||~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c b' 'z'
$ json 'a||~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c ~b' 'z'
$ json 'a||~c c' 'z'
{}
$ json '~a||a b' 'z'
{}
$ json '~a||a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a ~b' 'z'
$ json '~a||a c' 'z'
{}
$ json '~a||a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a ~c' 'z'
$ json '~a||b a' 'z'
{}
$ json '~a||b ~b' 'z'
{}
$ json '~a||b c' 'z'
{}
$ json '~a||b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b ~c' 'z'
$ json '~a||~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b a' 'z'
$ json '~a||~b b' 'z'
{}
$ json '~a||~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b c' 'z'
$ json '~a||~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b ~c' 'z'
$ json '~a||c a' 'z'
{}
$ json '~a||c b' 'z'
{}
$ json '~a||c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c ~b' 'z'
$ json '~a||c ~c' 'z'
{}
$ json '~a||~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c a' 'z'
$ json '~a||~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c b' 'z'
$ json '~a||~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c ~b' 'z'
$ json '~a||~c c' 'z'
{}
$ json 'b||a ~a' 'z'
{}
$ json 'b||a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a ~b' 'z'
$ json 'b||a c' 'z'
{}
$ json 'b||a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a ~c' 'z'
$ json 'b||~a a' 'z'
{}
$ json 'b||~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a ~b' 'z'
$ json 'b||~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a c' 'z'
$ json 'b||~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a ~c' 'z'
$ json 'b||~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b a' 'z'
$ json 'b||~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b ~a' 'z'
$ json 'b||~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b c' 'z'
$ json 'b||~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b ~c' 'z'
$ json 'b||c a' 'z'
{}
$ json 'b||c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c ~a' 'z'
$ json 'b||c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c ~b' 'z'
$ json 'b||c ~c' 'z'
{}
$ json 'b||~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c a' 'z'
$ json 'b||~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c ~a' 'z'
$ json 'b||~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c ~b' 'z'
$ json 'b||~c c' 'z'
{}
$ json '~b||a ~a' 'z'
{}
$ json '~b||a b' 'z'
{}
$ json '~b||a c' 'z'
{}
$ json '~b||a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a ~c' 'z'
$ json '~b||~a a' 'z'
{}
$ json '~b||~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a b' 'z'
$ json '~b||~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a c' 'z'
$ json '~b||~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a ~c' 'z'
$ json '~b||b a' 'z'
{}
$ json '~b||b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b ~a' 'z'
$ json '~b||b c' 'z'
{}
$ json '~b||b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b ~c' 'z'
$ json '~b||c a' 'z'
{}
$ json '~b||c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c ~a' 'z'
$ json '~b||c b' 'z'
{}
$ json '~b||c ~c' 'z'
{}
$ json '~b||~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c a' 'z'
$ json '~b||~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c ~a' 'z'
$ json '~b||~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c b' 'z'
$ json '~b||~c c' 'z'
{}
$ json 'c||a ~a' 'z'
{}
$ json 'c||a b' 'z'
{}
$ json 'c||a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a ~b' 'z'
$ json 'c||a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a ~c' 'z'
$ json 'c||~a a' 'z'
{}
$ json 'c||~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a b' 'z'
$ json 'c||~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a ~b' 'z'
$ json 'c||~a ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a ~c' 'z'
$ json 'c||b a' 'z'
{}
$ json 'c||b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b ~a' 'z'
$ json 'c||b ~b' 'z'
{}
$ json 'c||b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b ~c' 'z'
$ json 'c||~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b a' 'z'
$ json 'c||~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b ~a' 'z'
$ json 'c||~b b' 'z'
{}
$ json 'c||~b ~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b ~c' 'z'
$ json 'c||~c a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c a' 'z'
$ json 'c||~c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c ~a' 'z'
$ json 'c||~c b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c b' 'z'
$ json 'c||~c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c ~b' 'z'
$ json '~c||a ~a' 'z'
{}
$ json '~c||a b' 'z'
{}
$ json '~c||a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a ~b' 'z'
$ json '~c||a c' 'z'
{}
$ json '~c||~a a' 'z'
{}
$ json '~c||~a b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a b' 'z'
$ json '~c||~a ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a ~b' 'z'
$ json '~c||~a c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a c' 'z'
$ json '~c||b a' 'z'
{}
$ json '~c||b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b ~a' 'z'
$ json '~c||b ~b' 'z'
{}
$ json '~c||b c' 'z'
{}
$ json '~c||~b a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b a' 'z'
$ json '~c||~b ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b ~a' 'z'
$ json '~c||~b b' 'z'
{}
$ json '~c||~b c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b c' 'z'
$ json '~c||c a' 'z'
{}
$ json '~c||c ~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c ~a' 'z'
$ json '~c||c b' 'z'
{}
$ json '~c||c ~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c ~b' 'z'
$ json 'a||~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a|b' 'z'
$ json 'a||~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a|~b' 'z'
$ json 'a||~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a|c' 'z'
$ json 'a||~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a|~c' 'z'
$ json 'a||b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b|~a' 'z'
$ json 'a||b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b|~b' 'z'
$ json 'a||b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b|c' 'z'
$ json 'a||b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b|~c' 'z'
$ json 'a||~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b|~a' 'z'
$ json 'a||~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b|b' 'z'
$ json 'a||~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b|c' 'z'
$ json 'a||~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b|~c' 'z'
$ json 'a||c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c|~a' 'z'
$ json 'a||c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c|b' 'z'
$ json 'a||c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c|~b' 'z'
$ json 'a||c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c|~c' 'z'
$ json 'a||~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c|~a' 'z'
$ json 'a||~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c|b' 'z'
$ json 'a||~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c|~b' 'z'
$ json 'a||~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c|c' 'z'
$ json '~a||a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a|b' 'z'
$ json '~a||a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a|~b' 'z'
$ json '~a||a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a|c' 'z'
$ json '~a||a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a|~c' 'z'
$ json '~a||b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b|a' 'z'
$ json '~a||b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b|~b' 'z'
$ json '~a||b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b|c' 'z'
$ json '~a||b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b|~c' 'z'
$ json '~a||~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b|a' 'z'
$ json '~a||~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b|b' 'z'
$ json '~a||~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b|c' 'z'
$ json '~a||~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b|~c' 'z'
$ json '~a||c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c|a' 'z'
$ json '~a||c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c|b' 'z'
$ json '~a||c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c|~b' 'z'
$ json '~a||c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c|~c' 'z'
$ json '~a||~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c|a' 'z'
$ json '~a||~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c|b' 'z'
$ json '~a||~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c|~b' 'z'
$ json '~a||~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c|c' 'z'
$ json 'b||a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a|~a' 'z'
$ json 'b||a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a|~b' 'z'
$ json 'b||a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a|c' 'z'
$ json 'b||a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a|~c' 'z'
$ json 'b||~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a|a' 'z'
$ json 'b||~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a|~b' 'z'
$ json 'b||~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a|c' 'z'
$ json 'b||~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a|~c' 'z'
$ json 'b||~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b|a' 'z'
$ json 'b||~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b|~a' 'z'
$ json 'b||~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b|c' 'z'
$ json 'b||~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b|~c' 'z'
$ json 'b||c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c|a' 'z'
$ json 'b||c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c|~a' 'z'
$ json 'b||c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c|~b' 'z'
$ json 'b||c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c|~c' 'z'
$ json 'b||~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c|a' 'z'
$ json 'b||~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c|~a' 'z'
$ json 'b||~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c|~b' 'z'
$ json 'b||~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c|c' 'z'
$ json '~b||a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a|~a' 'z'
$ json '~b||a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a|b' 'z'
$ json '~b||a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a|c' 'z'
$ json '~b||a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a|~c' 'z'
$ json '~b||~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a|a' 'z'
$ json '~b||~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a|b' 'z'
$ json '~b||~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a|c' 'z'
$ json '~b||~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a|~c' 'z'
$ json '~b||b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b|a' 'z'
$ json '~b||b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b|~a' 'z'
$ json '~b||b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b|c' 'z'
$ json '~b||b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b|~c' 'z'
$ json '~b||c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c|a' 'z'
$ json '~b||c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c|~a' 'z'
$ json '~b||c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c|b' 'z'
$ json '~b||c|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c|~c' 'z'
$ json '~b||~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c|a' 'z'
$ json '~b||~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c|~a' 'z'
$ json '~b||~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c|b' 'z'
$ json '~b||~c|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c|c' 'z'
$ json 'c||a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a|~a' 'z'
$ json 'c||a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a|b' 'z'
$ json 'c||a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a|~b' 'z'
$ json 'c||a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a|~c' 'z'
$ json 'c||~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a|a' 'z'
$ json 'c||~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a|b' 'z'
$ json 'c||~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a|~b' 'z'
$ json 'c||~a|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a|~c' 'z'
$ json 'c||b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b|a' 'z'
$ json 'c||b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b|~a' 'z'
$ json 'c||b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b|~b' 'z'
$ json 'c||b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b|~c' 'z'
$ json 'c||~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b|a' 'z'
$ json 'c||~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b|~a' 'z'
$ json 'c||~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b|b' 'z'
$ json 'c||~b|~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b|~c' 'z'
$ json 'c||~c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c|a' 'z'
$ json 'c||~c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c|~a' 'z'
$ json 'c||~c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c|b' 'z'
$ json 'c||~c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c|~b' 'z'
$ json '~c||a|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a|~a' 'z'
$ json '~c||a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a|b' 'z'
$ json '~c||a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a|~b' 'z'
$ json '~c||a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a|c' 'z'
$ json '~c||~a|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a|a' 'z'
$ json '~c||~a|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a|b' 'z'
$ json '~c||~a|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a|~b' 'z'
$ json '~c||~a|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a|c' 'z'
$ json '~c||b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b|a' 'z'
$ json '~c||b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b|~a' 'z'
$ json '~c||b|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b|~b' 'z'
$ json '~c||b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b|c' 'z'
$ json '~c||~b|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b|a' 'z'
$ json '~c||~b|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b|~a' 'z'
$ json '~c||~b|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a", "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b|b' 'z'
$ json '~c||~b|c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b|c' 'z'
$ json '~c||c|a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c|a' 'z'
$ json '~c||c|~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c|~a' 'z'
$ json '~c||c|b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c|b' 'z'
$ json '~c||c|~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c|~b' 'z'
$ json 'a||~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a||b' 'z'
$ json 'a||~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a||~b' 'z'
$ json 'a||~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a||c' 'z'
$ json 'a||~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b" and "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~a||~c' 'z'
$ json 'a||b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b||~a' 'z'
$ json 'a||b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b||~b' 'z'
$ json 'a||b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b||c' 'z'
$ json 'a||b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "b"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||b||~c' 'z'
$ json 'a||~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b||~a' 'z'
$ json 'a||~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b||b' 'z'
$ json 'a||~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b||c' 'z'
$ json 'a||~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~b||~c' 'z'
$ json 'a||c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c||~a' 'z'
$ json 'a||c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c||b' 'z'
$ json 'a||c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c||~b' 'z'
$ json 'a||c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||c||~c' 'z'
$ json 'a||~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c||~a' 'z'
$ json 'a||~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c||b' 'z'
$ json 'a||~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c||~b' 'z'
$ json 'a||~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a"; 2nd case: "a" and "b"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'a||~c||c' 'z'
$ json '~a||a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a||b' 'z'
$ json '~a||a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a||~b' 'z'
$ json '~a||a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a||c' 'z'
$ json '~a||a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||a||~c' 'z'
$ json '~a||b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b||a' 'z'
$ json '~a||b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b||~b' 'z'
$ json '~a||b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b||c' 'z'
$ json '~a||b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "b"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||b||~c' 'z'
$ json '~a||~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b||a' 'z'
$ json '~a||~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b||b' 'z'
$ json '~a||~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b||c' 'z'
$ json '~a||~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~b||~c' 'z'
$ json '~a||c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c||a' 'z'
$ json '~a||c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c||b' 'z'
$ json '~a||c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c||~b' 'z'
$ json '~a||c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||c||~c' 'z'
$ json '~a||~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c||a' 'z'
$ json '~a||~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c||b' 'z'
$ json '~a||~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c||~b' 'z'
$ json '~a||~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b" and "c"; 2nd case: "a" and "b"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~a||~c||c' 'z'
$ json 'b||a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a||~a' 'z'
$ json 'b||a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a||~b' 'z'
$ json 'b||a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a||c' 'z'
$ json 'b||a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||a||~c' 'z'
$ json 'b||~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a||a' 'z'
$ json 'b||~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a||~b' 'z'
$ json 'b||~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a||c' 'z'
$ json 'b||~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "b" and "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~a||~c' 'z'
$ json 'b||~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b||a' 'z'
$ json 'b||~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b||~a' 'z'
$ json 'b||~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b||c' 'z'
$ json 'b||~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~b||~c' 'z'
$ json 'b||c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c||a' 'z'
$ json 'b||c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c||~a' 'z'
$ json 'b||c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c||~b' 'z'
$ json 'b||c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||c||~c' 'z'
$ json 'b||~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c||a' 'z'
$ json 'b||~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c||~a' 'z'
$ json 'b||~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c||~b' 'z'
$ json 'b||~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "b"; 2nd case: "a" and "b"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'b||~c||c' 'z'
$ json '~b||a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a||~a' 'z'
$ json '~b||a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a||b' 'z'
$ json '~b||a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a||c' 'z'
$ json '~b||a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||a||~c' 'z'
$ json '~b||~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a||a' 'z'
$ json '~b||~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a||b' 'z'
$ json '~b||~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a||c' 'z'
$ json '~b||~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b" and "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~a||~c' 'z'
$ json '~b||b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b||a' 'z'
$ json '~b||b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b||~a' 'z'
$ json '~b||b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b||c' 'z'
$ json '~b||b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "b"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||b||~c' 'z'
$ json '~b||c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c||a' 'z'
$ json '~b||c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c||~a' 'z'
$ json '~b||c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c||b' 'z'
$ json '~b||c||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||c||~c' 'z'
$ json '~b||~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c||a' 'z'
$ json '~b||~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c||~a' 'z'
$ json '~b||~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c||b' 'z'
$ json '~b||~c||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "c"; 2nd case: "a" and "b"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~b||~c||c' 'z'
$ json 'c||a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a||~a' 'z'
$ json 'c||a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a||b' 'z'
$ json 'c||a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a||~b' 'z'
$ json 'c||a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||a||~c' 'z'
$ json 'c||~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a||a' 'z'
$ json 'c||~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a||b' 'z'
$ json 'c||~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a||~b' 'z'
$ json 'c||~a||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b" and "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~a||~c' 'z'
$ json 'c||b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b||a' 'z'
$ json 'c||b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b||~a' 'z'
$ json 'c||b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b||~b' 'z'
$ json 'c||b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "b"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||b||~c' 'z'
$ json 'c||~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b||a' 'z'
$ json 'c||~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b||~a' 'z'
$ json 'c||~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b||b' 'z'
$ json 'c||~b||~c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "c"; 3rd case: "a" and "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~b||~c' 'z'
$ json 'c||~c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c||a' 'z'
$ json 'c||~c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c||~a' 'z'
$ json 'c||~c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c||b' 'z'
$ json 'c||~c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "c"; 2nd case: "a" and "b"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json 'c||~c||~b' 'z'
$ json '~c||a||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a||~a' 'z'
$ json '~c||a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a||b' 'z'
$ json '~c||a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a||~b' 'z'
$ json '~c||a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||a||c' 'z'
$ json '~c||~a||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a||a' 'z'
$ json '~c||~a||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a||b' 'z'
$ json '~c||~a||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a||~b' 'z'
$ json '~c||~a||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b" and "c"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~a||c' 'z'
$ json '~c||b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b||a' 'z'
$ json '~c||b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b||~a' 'z'
$ json '~c||b||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b||~b' 'z'
$ json '~c||b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "b"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||b||c' 'z'
$ json '~c||~b||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b||a' 'z'
$ json '~c||~b||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b||~a' 'z'
$ json '~c||~b||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b||b' 'z'
$ json '~c||~b||c' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "a" and "c"; 3rd case: "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||~b||c' 'z'
$ json '~c||c||a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"; 3rd case: "a"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c||a' 'z'
$ json '~c||c||~a' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"; 3rd case: "b" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c||~a' 'z'
$ json '~c||c||b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"; 3rd case: "b"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c||b' 'z'
$ json '~c||c||~b' 'z'
json: error: <stdin>:1:2: type check error: "dict" expression falsified: missing required args: 1st case: "a" and "b"; 2nd case: "c"; 3rd case: "a" and "c"
json: error: <stdin>:1:2: {}
json: error: <stdin>:1:2:  ^
{}
command failed: json '~c||c||~b' 'z'
$


